Fix condition of generating equals-impl0 call
This methods should not be called when instances of different inline classes are being compared ^KT-57242: Fixed
This commit is contained in:
committed by
teamcity
parent
948714e7e5
commit
8039e30bbd
+6
@@ -22613,6 +22613,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/kt54656.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57242.kt")
|
||||
public void testKt57242() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/kt57242.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lateinitInlineClasses.kt")
|
||||
public void testLateinitInlineClasses() throws Exception {
|
||||
|
||||
+6
@@ -22613,6 +22613,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/kt54656.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57242.kt")
|
||||
public void testKt57242() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/kt57242.kt", TransformersFunctions.getReplaceOptionalJvmInlineAnnotationWithReal());
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lateinitInlineClasses.kt")
|
||||
public void testLateinitInlineClasses() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user