[FIR] Fix completion of FirDelegatedConstructorCall
Before this fix, changes that were made to the arguments list by calling argumentList.transformArguments() were overriden by replaceArgumentList. This fixes reverses the order in which these calls are made. This also aligns the logic between the completion of qualified accesses and delegated constructor calls. #KT-59102 Fixed
This commit is contained in:
committed by
Space Team
parent
267068546f
commit
4b85776405
Generated
+6
@@ -2348,6 +2348,12 @@ public class FirLightTreeJsIrTextTestGenerated extends AbstractFirLightTreeJsIrT
|
||||
runTest("compiler/testData/ir/irText/firProblems/kt55458.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59102.kt")
|
||||
public void testKt59102() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/kt59102.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInEnumEntryConstructorCall.kt")
|
||||
public void testLambdaInEnumEntryConstructorCall() throws Exception {
|
||||
|
||||
+6
@@ -2348,6 +2348,12 @@ public class FirPsiJsIrTextTestGenerated extends AbstractFirPsiJsIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/firProblems/kt55458.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59102.kt")
|
||||
public void testKt59102() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/kt59102.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInEnumEntryConstructorCall.kt")
|
||||
public void testLambdaInEnumEntryConstructorCall() throws Exception {
|
||||
|
||||
+6
@@ -2348,6 +2348,12 @@ public class ClassicJsIrTextTestGenerated extends AbstractClassicJsIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/firProblems/kt55458.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt59102.kt")
|
||||
public void testKt59102() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/kt59102.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaInEnumEntryConstructorCall.kt")
|
||||
public void testLambdaInEnumEntryConstructorCall() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user