[FIR2IR] Generate IR declarations in classes in strict order
Order is following: - declared declarations in declaration (in source) order - generated declarations in sorted order
This commit is contained in:
committed by
Space Team
parent
c961c15729
commit
839026b6fe
Generated
+6
@@ -88,6 +88,12 @@ public class FirLightTreeJsIrTextTestGenerated extends AbstractFirLightTreeJsIrT
|
||||
runTest("compiler/testData/ir/irText/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationOrder.kt")
|
||||
public void testDeclarationOrder() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/classes/declarationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedGenericImplementation.kt")
|
||||
public void testDelegatedGenericImplementation() throws Exception {
|
||||
|
||||
+6
@@ -88,6 +88,12 @@ public class FirPsiJsIrTextTestGenerated extends AbstractFirPsiJsIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationOrder.kt")
|
||||
public void testDeclarationOrder() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/classes/declarationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedGenericImplementation.kt")
|
||||
public void testDelegatedGenericImplementation() throws Exception {
|
||||
|
||||
+6
@@ -88,6 +88,12 @@ public class ClassicJsIrTextTestGenerated extends AbstractClassicJsIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/classes/companionObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("declarationOrder.kt")
|
||||
public void testDeclarationOrder() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/classes/declarationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedGenericImplementation.kt")
|
||||
public void testDelegatedGenericImplementation() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user