Support generating computable properties inside inline classes

This commit is contained in:
Mikhail Zarechenskiy
2018-02-06 16:52:52 +03:00
parent 47aeeb36e4
commit 30c79ffadc
10 changed files with 88 additions and 3 deletions
@@ -273,6 +273,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
doTest(fileName);
}
@TestMetadata("computablePropertiesInsideInlineClass.kt")
public void testComputablePropertiesInsideInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/inlineClasses/computablePropertiesInsideInlineClass.kt");
doTest(fileName);
}
@TestMetadata("noBridgesForErasedInlineClass.kt")
public void testNoBridgesForErasedInlineClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/inlineClasses/noBridgesForErasedInlineClass.kt");
@@ -284,6 +290,12 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/inlineClasses/shapeOfInlineClassWithPrimitive.kt");
doTest(fileName);
}
@TestMetadata("shapeOfInlineClassWithPrivateConstructor.kt")
public void testShapeOfInlineClassWithPrivateConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/bytecodeListing/inlineClasses/shapeOfInlineClassWithPrivateConstructor.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/bytecodeListing/specialBridges")