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
//using App; // this works as except
@:using(App)
abstractFoo(Int) toInt {
publicinlinefunctionnew(i) this=i;
}
classApp {
staticfunctionmain() {
varf=newFoo(101);
trace(f.toInt()); //will get error: Foo has no field toInt
}
staticfunctiontoInt(f:Foo):Intreturnf;
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: