K2: Fix priority for implicit receiver + extensionInvoke

See K1 counterpart at org.jetbrains.kotlin.resolve.calls.tower.TowerResolver.Task.processImplicitReceiver

^KT-58943 Fixed
^KT-59541 Fixed
This commit is contained in:
Denis.Zharkov
2023-05-26 18:35:24 +02:00
committed by Space Team
parent 1f120ecd20
commit 3279313f2c
24 changed files with 160 additions and 31 deletions
@@ -14773,6 +14773,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
runTest("compiler/testData/codegen/box/fir/localInvokeExtension.kt");
}
@Test
@TestMetadata("localOverrideWithDefaultInLocalOverridden.kt")
public void testLocalOverrideWithDefaultInLocalOverridden() throws Exception {
@@ -15121,6 +15121,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
runTest("compiler/testData/codegen/box/fir/localInvokeExtension.kt");
}
@Test
@TestMetadata("localOverrideWithDefaultInLocalOverridden.kt")
public void testLocalOverrideWithDefaultInLocalOverridden() throws Exception {
@@ -14600,6 +14600,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
runTest("compiler/testData/codegen/box/fir/localInvokeExtension.kt");
}
@Test
@TestMetadata("localOverrideWithDefaultInLocalOverridden.kt")
public void testLocalOverrideWithDefaultInLocalOverridden() throws Exception {
@@ -14774,6 +14774,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
runTest("compiler/testData/codegen/box/fir/localInvokeExtension.kt");
}
@Test
@TestMetadata("localOverrideWithDefaultInLocalOverridden.kt")
public void testLocalOverrideWithDefaultInLocalOverridden() throws Exception {