K2: Adjust invoke priorities with K1
- At first, get rid of a kind of interceptTowerGroup callback and use explicit towerGroup construction instead - Get rid of INVOKE_RECEIVER (not sure exactly why it was needed) - Make comparison consistent with tower-levels priority of K2 (see the comments in the compareTo code) ^KT-37375 Fixed ^KT-58940 Open
This commit is contained in:
committed by
Space Team
parent
04dd209f8d
commit
1f120ecd20
+6
@@ -27449,6 +27449,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("avoidTypeCheckerRecursion.kt")
|
||||
public void testAvoidTypeCheckerRecursion() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/invoke/avoidTypeCheckerRecursion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("closeInvokesFarVariable.kt")
|
||||
public void testCloseInvokesFarVariable() throws Exception {
|
||||
|
||||
+6
@@ -27449,6 +27449,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/resolve/invoke"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("avoidTypeCheckerRecursion.kt")
|
||||
public void testAvoidTypeCheckerRecursion() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/invoke/avoidTypeCheckerRecursion.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("closeInvokesFarVariable.kt")
|
||||
public void testCloseInvokesFarVariable() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user