[FIR] Add dynamic stages to callable reference resolution
This fixes an overload resolution ambiguity on callable references in the presence of a dynamic extension receiver. #KT-58143 Fixed
This commit is contained in:
committed by
Space Team
parent
c16f2f1067
commit
d96c33e080
+6
@@ -230,6 +230,12 @@ public class FirPsiJsOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiJ
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/dynamicExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicExtensionCallableReference.kt")
|
||||
public void testDynamicExtensionCallableReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithJsStdLib/dynamicTypes/dynamicExtensionCallableReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dynamicSafeCalls.kt")
|
||||
public void testDynamicSafeCalls() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user