[FIR2IR] Keep redundant cast on 'this' for local anonymous function
#KT-42517 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
f4531b0f34
commit
620a5d404d
Generated
+5
@@ -24340,6 +24340,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
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");
|
||||
|
||||
Generated
+5
@@ -24340,6 +24340,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
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");
|
||||
|
||||
+5
@@ -24355,6 +24355,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user