[FE 1.0] Check callable reference return type safety during resolution
^KT-51844 ^KT-52503 Fixed
This commit is contained in:
committed by
teamcity
parent
51551998c7
commit
0199c76c06
+6
@@ -2826,6 +2826,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/kt49038.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt52503.kt")
|
||||
public void testKt52503() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/kt52503.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt7430_wrongClassOnLHS.kt")
|
||||
public void testKt7430_wrongClassOnLHS() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user