class Main {
static public function main() {
js.Syntax.code("parseFloat({0})", new Foo().foo());
}
}
abstract Foo(String) {
public inline function new()
this = '';
public function foo() {
return '100';
}
}
generated:
var this1 = "";
parseFloat(Foo.foo(this1));
class Foo_Impl_ {
// ...
}
Note that the correct reference should be Foo_Impl_.foo instead of Foo.foo.
Only happens in js.Syntax.code
generated:
Note that the correct reference should be
Foo_Impl_.foo
instead ofFoo.foo
. Only happens injs.Syntax.code