You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add a static function in WatchedClass.hx after build hxml
@interpret public static function hello():Void{
trace("static function11");
}
when call
WatchedClass.hello();//error.
@interpret public static function hello():Void{
trace("static function11");
}
/** This is an interpretable method. It is compiled as native haxe code with the app,
but if the method is updated while the app is running, its new content will be live-reloaded
and the code will be executed with `interpret`. */
@interpret public function printSomething() {
// Just testing calling a native (non-interpreted) method
// and get its return value
var className = getClassNameFromNative();
// Then printing something (note that string interpolation works :))
trace('$className');
hello();//work.
WatchedClass.hello();//error.
trace(NativeClass.randomName());//error
} //printSomething
The text was updated successfully, but these errors were encountered:
Unfortunately my current focus is on other projects at the moment so I won’t fix that anytime soon, but I will review Pull Request if anybody want to fix that himself
add a static function in WatchedClass.hx after build hxml
when call
WatchedClass.hello();//error.
The text was updated successfully, but these errors were encountered: