Weird message for corralled message

andrei.eremeev andrei.eremeev at oracle.com
Wed May 27 16:18:00 UTC 2015


Hi REPL team,

I got weird message that method /f/ cannot be referenced until class A 
declared, but it can.
I think the message should mention that /f///cannot be invoked, not 
referenced.

-> void f(A a) {}
|  Added method f(A), however, it cannot be referenced until class A is 
declared

-> void g() { f(new A()); }
|  Added method g(), however, it cannot be invoked until class A is declared

Andrei Eremeev


More information about the kulla-dev mailing list