KT-2838 Type inference failed on passing null as a nullable argument

#KT-2838 fixed
This commit is contained in:
Svetlana Isakova
2012-12-26 14:38:53 +04:00
parent 6208bdb6da
commit 9b645589df
3 changed files with 29 additions and 0 deletions
@@ -2197,6 +2197,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2514.kt");
}
@TestMetadata("kt2838.kt")
public void testKt2838() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2838.kt");
}
@TestMetadata("kt2841.kt")
public void testKt2841() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt2841.kt");