JVM IR: Fix handling of anonymous initializers in inline classes (#4372)
Fixes KT-46554
This commit is contained in:
committed by
Alexander Udalov
parent
cc4c61d2b3
commit
b2378620c3
+25
@@ -30,6 +30,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true, "ranges/stepped", "compileKotlinAgainstKotlin");
|
||||
}
|
||||
|
||||
@TestMetadata("boxImplDoesNotExecuteInSecondaryConstructor.kt")
|
||||
public void testBoxImplDoesNotExecuteInSecondaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/boxImplDoesNotExecuteInSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@@ -14727,6 +14732,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/checkUnboxingResultFromTypeVariable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classInInlineClassInit.kt")
|
||||
public void testClassInInlineClassInit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/classInInlineClassInit.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("classLiteralOnInlineClass.kt")
|
||||
public void testClassLiteralOnInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/classLiteralOnInlineClass.kt");
|
||||
@@ -14912,6 +14922,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassEqualityShouldUseTotalOrderForFloatingPointData.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassFieldHandling.kt")
|
||||
public void testInlineClassFieldHandling() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassFieldHandling.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassFunctionInvoke.kt")
|
||||
public void testInlineClassFunctionInvoke() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassFunctionInvoke.kt");
|
||||
@@ -14922,6 +14937,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassImplementsCollection.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassInInitBlock.kt")
|
||||
public void testInlineClassInInitBlock() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassInInitBlock.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassInStringTemplate.kt")
|
||||
public void testInlineClassInStringTemplate() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassInStringTemplate.kt");
|
||||
@@ -15212,6 +15232,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/kt45084.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt46554.kt")
|
||||
public void testKt46554() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/kt46554.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mangledDefaultParameterFunction.kt")
|
||||
public void testMangledDefaultParameterFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt");
|
||||
|
||||
Reference in New Issue
Block a user