[FIR] Fix overload conflicts resolution for callable references with defaults

This commit is contained in:
Dmitriy Novozhilov
2021-05-13 12:40:58 +03:00
committed by teamcityserver
parent e3b92fd561
commit 1a3b5657c7
8 changed files with 77 additions and 1 deletions
@@ -2345,6 +2345,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/callableReference/noExceptionOnRedCodeWithArrayLikeCall.kt");
}
@Test
@TestMetadata("overloadResolutionWithDefaults.kt")
public void testOverloadResolutionWithDefaults() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/overloadResolutionWithDefaults.kt");
}
@Test
@TestMetadata("packageInLhs.kt")
public void testPackageInLhs() throws Exception {
@@ -2345,6 +2345,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/callableReference/noExceptionOnRedCodeWithArrayLikeCall.kt");
}
@Test
@TestMetadata("overloadResolutionWithDefaults.kt")
public void testOverloadResolutionWithDefaults() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/overloadResolutionWithDefaults.kt");
}
@Test
@TestMetadata("packageInLhs.kt")
public void testPackageInLhs() throws Exception {