method references: show candidates if overload resolution failed (IDEA-148974)

This commit is contained in:
Anna Kozlova
2015-12-10 16:49:24 +01:00
parent a04d90243b
commit 3f72d428a8
28 changed files with 100 additions and 68 deletions

View File

@@ -2,7 +2,7 @@ import java.util.*;
class LambdaTest {
public void testR() {
<error descr="Incompatible types. Found: 'java.lang.String', required: '<method reference>'">new ArrayList<String>() :: size = ""</error>;
new ArrayList<String>() :: <error descr="Cannot resolve method 'size'">size</error> = "";
}
}