mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
method refs: restore error on invalid array creation
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Test {
|
||||
interface I {
|
||||
Object m();
|
||||
}
|
||||
|
||||
void m(I i) {}
|
||||
|
||||
{
|
||||
m<error descr="'m(Test.I)' in 'Test' cannot be applied to '(<method reference>)'">(String[]::new)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user