From fa401e23e86604a7dac87ab022b1e97e21c96039 Mon Sep 17 00:00:00 2001 From: anna Date: Tue, 23 Oct 2012 20:29:13 +0200 Subject: [PATCH] testdata for IDEA-57286 --- .../daemonCodeAnalyzer/genericsHighlighting/IDEA57286.java | 6 ++++++ .../codeInsight/daemon/GenericsHighlightingTest.java | 1 + 2 files changed, 7 insertions(+) create mode 100644 java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57286.java diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57286.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57286.java new file mode 100644 index 000000000000..f26c784ba40f --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57286.java @@ -0,0 +1,6 @@ +class A { + > void foo(){} + void bar(A a){ + a.<A>foo(); + } +} \ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java index 0f1bfb4d250d..6705d8c02252 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -174,6 +174,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA57315() throws Exception { doTest(false); } public void testIDEA57346() throws Exception { doTest(false); } public void testIDEA57284() throws Exception { doTest(false); } + public void testIDEA57286() throws Exception { doTest(false); } public void testInconvertibleTypes() throws Exception { doTest(false); } public void testIncompatibleReturnType() throws Exception { doTest(false); } public void testContinueInferenceAfterFirstRawResult() throws Exception { doTest(false); }