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
The following code is not supposed to work, but the Frog compiler allows it and happily prints "hest". The A class is just there to silence a warning about bar() not being defined anywhere:
class A {
bar() { }
}
main() {
var a = [];
a["proto"]["bar$0"] = () { print('hest'); };
a.bar();
}