JVM_IR KT-45431 don't optimize out $$delegatedProperties in companion
Corresponding delegates are initialized in the host class, using '$$delegatedProperties'. TODO figure out proper code generation scheme for delegated properties in companions (KT-45580)
This commit is contained in:
committed by
TeamCityServer
parent
f6baabd98e
commit
73d4fa65ea
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -9294,6 +9294,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt4138.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt45431.kt")
|
||||
public void testKt45431() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt45431.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6722.kt")
|
||||
public void testKt6722() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt6722.kt");
|
||||
|
||||
Generated
+5
@@ -8751,6 +8751,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt4138.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt45431.kt")
|
||||
public void testKt45431() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt45431.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6722.kt")
|
||||
public void testKt6722() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt6722.kt");
|
||||
|
||||
Generated
+5
@@ -8751,6 +8751,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt4138.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt45431.kt")
|
||||
public void testKt45431() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt45431.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt6722.kt")
|
||||
public void testKt6722() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/kt6722.kt");
|
||||
|
||||
Reference in New Issue
Block a user