KT-42933 inline class backing field can't be static

This commit is contained in:
Dmitry Petrov
2020-11-25 13:39:15 +03:00
parent f6abc5c3cf
commit e5dce9f994
10 changed files with 59 additions and 3 deletions
@@ -13125,6 +13125,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testKt27070() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt");
}
@TestMetadata("kt42933.kt")
public void testKt42933() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt42933.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter")
@@ -13125,6 +13125,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testKt27070() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt");
}
@TestMetadata("kt42933.kt")
public void testKt42933() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt42933.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter")
@@ -13190,6 +13190,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testKt27070() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt27070.kt");
}
@TestMetadata("kt42933.kt")
public void testKt42933() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt42933.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter")
@@ -7440,6 +7440,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testAllFilesPresentInPropertyDelegation() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/propertyDelegation"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
}
@TestMetadata("kt42933.kt")
public void testKt42933() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/propertyDelegation/kt42933.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses/unboxGenericParameter")