JVM IR: fix smart cast on argument of 'throw'

#KT-48163 Fixed
This commit is contained in:
Alexander Udalov
2021-08-09 16:21:33 +02:00
parent cb37a05b79
commit afacff326d
9 changed files with 67 additions and 5 deletions
@@ -32290,6 +32290,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/smartCasts/kt44942.kt");
}
@TestMetadata("kt48163_smartCastToThrowable.kt")
public void testKt48163_smartCastToThrowable() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/kt48163_smartCastToThrowable.kt");
}
@TestMetadata("lambdaArgumentWithoutType.kt")
public void testLambdaArgumentWithoutType() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt");