wrong_ident_type_parameter_function_call.invalid.mj 225 Bytes
Newer Older
ufebl's avatar
ufebl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
class Main {
    public static void main(String[] arguments) {
        A a = new A();
        a.foo();
    }
}

class A {
    public void foo() {
        bar (new B());
    }
    public void bar(A a) {

    }
}

class B {

}