Don't discriminate generics during callable references resolution

^KT-49038 Fixed
This commit is contained in:
Victor Petukhov
2021-10-01 15:19:57 +03:00
committed by TeamCityServer
parent 23f6c29efc
commit abd2507107
8 changed files with 72 additions and 1 deletions
@@ -2747,6 +2747,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/callableReference/kt37530.kt");
}
@Test
@TestMetadata("kt49038.kt")
public void testKt49038() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/kt49038.kt");
}
@Test
@TestMetadata("kt7430_wrongClassOnLHS.kt")
public void testKt7430_wrongClassOnLHS() throws Exception {