Take into account excluded fq-names when determining whether type has been imported by default.
Related to #KT-13447
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun some(e: IllegalArgumentException<caret>) {
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// WITH_ORDER
|
||||
// EXIST: { lookupString:"IllegalArgumentException", typeText:"public typealias IllegalArgumentException = IllegalArgumentException defined in kotlin" }
|
||||
// EXIST: { lookupString:"IllegalArgumentException", tailText:" (java.lang)" }
|
||||
+6
@@ -2755,6 +2755,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("StandardKotlinTypeAliasFirst.kt")
|
||||
public void testStandardKotlinTypeAliasFirst() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/StandardKotlinTypeAliasFirst.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("TopLevelFromStandardLibrary.kt")
|
||||
public void testTopLevelFromStandardLibrary() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/TopLevelFromStandardLibrary.kt");
|
||||
|
||||
Reference in New Issue
Block a user