[FIR2IR] Keep redundant cast on 'this' for local anonymous function

#KT-42517 Fixed
This commit is contained in:
Juan Chen
2020-10-21 05:02:11 +00:00
committed by Mikhail Glukhikh
parent f4531b0f34
commit 620a5d404d
9 changed files with 62 additions and 3 deletions
@@ -31820,6 +31820,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/smartCasts/kt19100.kt");
}
@TestMetadata("kt42517.kt")
public void testKt42517() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/kt42517.kt");
}
@TestMetadata("lambdaArgumentWithoutType.kt")
public void testLambdaArgumentWithoutType() throws Exception {
runTest("compiler/testData/codegen/box/smartCasts/lambdaArgumentWithoutType.kt");