KT-2842 Function with declared non-null receiver resolves with nullable argument receiver

#KT-2842 fixed
This commit is contained in:
Svetlana Isakova
2012-09-29 21:06:24 +04:00
parent 069ef8ef91
commit 9d5f5f7adf
5 changed files with 54 additions and 13 deletions
@@ -1889,6 +1889,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2514.kt");
}
@TestMetadata("kt2842.kt")
public void testKt2842() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2842.kt");
}
@TestMetadata("kt702.kt")
public void testKt702() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt702.kt");