K2: Fix invokeExtension resolution when property type is implicit

^KT-57947 Fixed
This commit is contained in:
Denis.Zharkov
2023-04-12 13:28:53 +02:00
committed by Space Team
parent f0aa6c6d32
commit fa8eca7a7b
7 changed files with 42 additions and 1 deletions
@@ -26785,6 +26785,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/resolve/invoke/implicitInvokeAfterSafeCall.kt");
}
@Test
@TestMetadata("implicitPropertyType.kt")
public void testImplicitPropertyType() throws Exception {
runTest("compiler/testData/diagnostics/tests/resolve/invoke/implicitPropertyType.kt");
}
@Test
@TestMetadata("invokeAndSmartCast.kt")
public void testInvokeAndSmartCast() throws Exception {
@@ -26785,6 +26785,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/resolve/invoke/implicitInvokeAfterSafeCall.kt");
}
@Test
@TestMetadata("implicitPropertyType.kt")
public void testImplicitPropertyType() throws Exception {
runTest("compiler/testData/diagnostics/tests/resolve/invoke/implicitPropertyType.kt");
}
@Test
@TestMetadata("invokeAndSmartCast.kt")
public void testInvokeAndSmartCast() throws Exception {