method references: site substitution for method references without receiver (IDEA-134261)

This commit is contained in:
Anna Kozlova
2014-12-12 20:57:02 +01:00
parent ab8e96f1d3
commit 482de672ef
5 changed files with 24 additions and 5 deletions

View File

@@ -39,6 +39,6 @@ class MyTest1 {
static void foo(I3 i) {}
static {
foo<error descr="Ambiguous method call: both 'MyTest1.foo(I1)' and 'MyTest1.foo(I2)' match">(Foo::new)</error>;
foo<error descr="Cannot resolve method 'foo(<method reference>)'">(Foo::new)</error>;
}
}