JVM IR: fix smart cast on argument of 'throw'
#KT-48163 Fixed
This commit is contained in:
+6
@@ -40424,6 +40424,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/smartCasts/kt44942.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48163_smartCastToThrowable.kt")
|
||||
public void testKt48163_smartCastToThrowable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/kt48163_smartCastToThrowable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaArgumentWithoutType.kt")
|
||||
public void testLambdaArgumentWithoutType() throws Exception {
|
||||
|
||||
+6
@@ -91,6 +91,12 @@ public class FirBytecodeTextTestGenerated extends AbstractFirBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/charConstant.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("checkcastOnThrow.kt")
|
||||
public void testCheckcastOnThrow() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/checkcastOnThrow.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("collectionStubs.kt")
|
||||
public void testCollectionStubs() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user