The owner of static function call is not evaluated
infmagic2047 opened this issue · 0 comments
infmagic2047 commented
class Main {
static void main() {
class Main[] x = new class Main[10];
x[g()].f();
}
static void f() {}
static int g() {
Print("123");
return 1;
}
}
x[g()] should be evaluated but it is not.