move completion suggestions before lambda only when they really match specific expected type (IDEA-183592)

This commit is contained in:
peter
2017-12-12 17:55:37 +01:00
parent 206db0b7b9
commit beb4f6dba7
3 changed files with 20 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class Foo {
void foo(java.util.stream.Stream<Foo> s, int local, StringBuilder local2) {
s.reduce(<caret>)
}
}