[FIR] Use Throwable as expected type for throw expressions
#KT-58533 Fixed
This commit is contained in:
committed by
Space Team
parent
55632f5df2
commit
7a9c516f68
+6
@@ -14618,6 +14618,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/inference/genericAssignmentOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericCallInThrow.kt")
|
||||
public void testGenericCallInThrow() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/genericCallInThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("hasErrorInConstrainingTypes.kt")
|
||||
public void testHasErrorInConstrainingTypes() throws Exception {
|
||||
|
||||
+6
@@ -14618,6 +14618,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/inference/genericAssignmentOperator.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericCallInThrow.kt")
|
||||
public void testGenericCallInThrow() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/genericCallInThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("hasErrorInConstrainingTypes.kt")
|
||||
public void testHasErrorInConstrainingTypes() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user