class Outer { method() { print(this); # expect: fun f() { print(this); # expect: class Inner { method() { print(this); # expect: } } Inner().method(); } f(); } } Outer().method();