Fix access to non-static method and field from static context

parent 8d2812d5
......@@ -7,6 +7,6 @@ class Foo {
public static void main(String[] args) {
Foo = Foo(new Foo());
Foo Foo = new Foo().Foo(new Foo());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment