K2: don't throw an exception for type parameter case in isJavaTypeOnThePath

#KT-63569 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-11-20 12:10:07 +01:00
committed by Space Team
parent 8924e46458
commit 3b7f43a9c2
7 changed files with 68 additions and 1 deletions
@@ -21058,6 +21058,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/javaLangStringCtr.kt");
}
@Test
@TestMetadata("javaLikeCallOnTypeParameter.kt")
public void testJavaLikeCallOnTypeParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/javaLikeCallOnTypeParameter.kt");
}
@Test
@TestMetadata("javaStaticImport.kt")
public void testJavaStaticImport() throws Exception {
@@ -21058,6 +21058,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/javaLangStringCtr.kt");
}
@Test
@TestMetadata("javaLikeCallOnTypeParameter.kt")
public void testJavaLikeCallOnTypeParameter() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/javaLikeCallOnTypeParameter.kt");
}
@Test
@TestMetadata("javaStaticImport.kt")
public void testJavaStaticImport() throws Exception {