[FIR] Prioritize double over float in overload resolution

#KT-57194 Fixed
This commit is contained in:
Kirill Rakhman
2023-03-08 15:34:03 +01:00
committed by Space Team
parent 525317962c
commit fa432d7f0d
6 changed files with 45 additions and 4 deletions
@@ -23474,6 +23474,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/overload/disambiguateByFailedAbstractClassCheck.kt");
}
@Test
@TestMetadata("doubleWinsOverFloat.kt")
public void testDoubleWinsOverFloat() throws Exception {
runTest("compiler/testData/diagnostics/tests/overload/doubleWinsOverFloat.kt");
}
@Test
@TestMetadata("EmptyArgumentListInLambda.kt")
public void testEmptyArgumentListInLambda() throws Exception {