projects
/
idea
/
community.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4711f9
)
testdata for IDEA-149774
author
Anna Kozlova
<anna.kozlova@jetbrains.com>
Mon, 28 Dec 2015 17:59:45 +0000
(18:59 +0100)
committer
Anna Kozlova
<anna.kozlova@jetbrains.com>
Mon, 28 Dec 2015 18:07:22 +0000
(19:07 +0100)
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA149774.java
[new file with mode: 0644]
patch
|
blob
java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java
patch
|
blob
|
history
diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA149774.java
b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA149774.java
new file mode 100644
(file)
index 0000000..
c3094be
--- /dev/null
+++ b/
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/graphInference/IDEA149774.java
@@ -0,0
+1,14
@@
+
+interface Item<K, V>{}
+interface Holder<A, B> {
+ boolean apply(Item<? extends A, ? extends B> i);
+}
+class C {
+ void f(Holder<?,?> h) {
+ h.apply(create());
+ }
+
+ private <L, M> Item<L,M> create() {
+ return null;
+ }
+}
\ No newline at end of file
diff --git
a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java
b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java
index 5b6a9741a14dd46d2eaa4fe0ffe8a20029c627e8..0e724b5422022e4dcdd161a970c8c577471f9b38 100644
(file)
--- a/
java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java
+++ b/
java/java-tests/testSrc/com/intellij/codeInsight/daemon/lambda/GraphInferenceHighlightingTest.java
@@
-355,6
+355,10
@@
public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
+ public void testIDEA149774() throws Exception {
+ doTest();
+ }
+
private void doTest() throws Exception {
doTest(false);
}