mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-83714 Non-existent class in generic arguments trips the smart auto-completion component
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.util.HashMap;
|
||||
|
||||
class Test {
|
||||
void test() {
|
||||
java.util.Map<String, ClassThatDoesNotExistYet> map = new HashMap<String, ClassThatDoesNotExistYet>(<caret>);
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test {
|
||||
void test() {
|
||||
java.util.Map<String, ClassThatDoesNotExistYet> map = new HashM<caret>
|
||||
}
|
||||
}
|
||||
+1
@@ -234,6 +234,7 @@ public class SmartTypeCompletionTest extends LightFixtureCompletionTestCase {
|
||||
}
|
||||
|
||||
public void testCastInThrow() throws Exception { doTest(); }
|
||||
public void _testNonExistentGenericAfterNew() throws Exception { doTest(); }
|
||||
|
||||
public void testParenAfterNewWithinInnerExpr() throws Exception {
|
||||
String path = "/afterNew";
|
||||
|
||||
Reference in New Issue
Block a user