[FIR] Remove incompatible from expect actual matching if compatible exists

This fixes an issue with checking for default values in call resolution
(see FirDefaultParametersResolver) where it is expected that the map
only contains a single compatible entry.

#KT-59613 Fixed
This commit is contained in:
Kirill Rakhman
2023-07-03 16:43:24 +02:00
committed by Space Team
parent fcff1c2ddc
commit b68962018c
17 changed files with 115 additions and 0 deletions
@@ -28246,6 +28246,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/multiplatform/expectProperty.kt");
}
@TestMetadata("kt59613.kt")
public void testKt59613() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/kt59613.kt");
}
@TestMetadata("noArgActualConstructor.kt")
public void testNoArgActualConstructor() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/noArgActualConstructor.kt");