Fix addAll & putAll invocations on inline mutable collections

^KT-54950: Fixed
This commit is contained in:
vladislav.grechko
2022-11-23 18:03:41 +01:00
committed by teamcity
parent 8fc787d6df
commit e0c13e5276
15 changed files with 99 additions and 6 deletions
@@ -24245,6 +24245,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testInlineMapOfInlineClassGeneric() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassCollection/inlineMapOfInlineClassGeneric.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
@Test
@TestMetadata("inlineMutableCollectionBulkAdd.kt")
public void testInlineMutableCollectionBulkAdd() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassCollection/inlineMutableCollectionBulkAdd.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
}
@Nested
@@ -25067,6 +25067,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
public void testInlineMapOfInlineClassGeneric() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassCollection/inlineMapOfInlineClassGeneric.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
@Test
@TestMetadata("inlineMutableCollectionBulkAdd.kt")
public void testInlineMutableCollectionBulkAdd() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/inlineClassCollection/inlineMutableCollectionBulkAdd.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
}
}
@Nested