[FIR] fix exception on primary constructor parameter without a type
^KTIJ-25869 fixed
This commit is contained in:
committed by
Space Team
parent
c6bd981fad
commit
36c8987df2
+6
@@ -3865,6 +3865,12 @@ public class DiagnosticCompilerTestFirTestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/problems/objectDerivedFromInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorParameterWithoutReturnType.kt")
|
||||
public void testPrimaryConstructorParameterWithoutReturnType() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/problems/primaryConstructorParameterWithoutReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("questionableSmartCast.kt")
|
||||
public void testQuestionableSmartCast() throws Exception {
|
||||
|
||||
+6
@@ -3865,6 +3865,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/problems/objectDerivedFromInnerClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primaryConstructorParameterWithoutReturnType.kt")
|
||||
public void testPrimaryConstructorParameterWithoutReturnType() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/problems/primaryConstructorParameterWithoutReturnType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("questionableSmartCast.kt")
|
||||
public void testQuestionableSmartCast() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user