IDEA-167160 Completion doesn't suggest types for parameters in lambdas in Java

This commit is contained in:
peter
2017-01-27 15:06:16 +01:00
parent 48deb9a64c
commit 2ac4ed9c48
4 changed files with 31 additions and 0 deletions
@@ -0,0 +1,13 @@
package abcdef;
import java.util.List;
/**
* Created by peter on 1/27/17. ${FFF}
*/
public class Foo {
void foo() {
List<String> strings = null;
strings.stream().anyMatch((ChSeq<caret>x) -> x.charAt(0) == 'a');
}
}
@@ -0,0 +1,13 @@
package abcdef;
import java.util.List;
/**
* Created by peter on 1/27/17. ${FFF}
*/
public class Foo {
void foo() {
List<String> strings = null;
strings.stream().anyMatch((CharSequence<caret>x) -> x.charAt(0) == 'a');
}
}