[FIR] Fix compiler crash with incorrect argument in FirDanglingModifierList
KT-63508 Fixed
This commit is contained in:
committed by
Space Team
parent
fc5239bdfd
commit
a04deba7c7
+6
@@ -12518,6 +12518,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithWrongArgInDanglingModifierList.kt")
|
||||
public void testAnnotationWithWrongArgInDanglingModifierList() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/exceptions/annotationWithWrongArgInDanglingModifierList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectedSomeTypesOnBranchForWhenExpressionOfErroneousType.kt")
|
||||
public void testExpectedSomeTypesOnBranchForWhenExpressionOfErroneousType() throws Exception {
|
||||
|
||||
+6
@@ -12518,6 +12518,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/exceptions"), Pattern.compile("^(.+)\\.(kt|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("annotationWithWrongArgInDanglingModifierList.kt")
|
||||
public void testAnnotationWithWrongArgInDanglingModifierList() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/exceptions/annotationWithWrongArgInDanglingModifierList.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("expectedSomeTypesOnBranchForWhenExpressionOfErroneousType.kt")
|
||||
public void testExpectedSomeTypesOnBranchForWhenExpressionOfErroneousType() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user