JVM_IR KT-47326 downcast field receiver on JvmField lowering

This commit is contained in:
Dmitry Petrov
2021-06-18 17:55:51 +03:00
committed by TeamCityServer
parent ebc4e10684
commit c19792e7c5
24 changed files with 530 additions and 8 deletions
@@ -20380,6 +20380,26 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/jvmField/interfaceCompanionWithJava.kt");
}
@TestMetadata("kt47328.kt")
public void testKt47328() throws Exception {
runTest("compiler/testData/codegen/box/jvmField/kt47328.kt");
}
@TestMetadata("kt47328_inherited.kt")
public void testKt47328_inherited() throws Exception {
runTest("compiler/testData/codegen/box/jvmField/kt47328_inherited.kt");
}
@TestMetadata("kt47328_super.kt")
public void testKt47328_super() throws Exception {
runTest("compiler/testData/codegen/box/jvmField/kt47328_super.kt");
}
@TestMetadata("kt47328_var.kt")
public void testKt47328_var() throws Exception {
runTest("compiler/testData/codegen/box/jvmField/kt47328_var.kt");
}
@TestMetadata("publicField.kt")
public void testPublicField() throws Exception {
runTest("compiler/testData/codegen/box/jvmField/publicField.kt");