KT-3174 Call resolver doesn't understand type is not-nullable after ?. safe call

#KT-3174 fixed
This commit is contained in:
Svetlana Isakova
2012-12-26 16:43:59 +04:00
parent 9b645589df
commit a299cec2eb
3 changed files with 22 additions and 2 deletions
@@ -2247,6 +2247,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt3150.kt");
}
@TestMetadata("kt3174.kt")
public void testKt3174() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt3174.kt");
}
@TestMetadata("kt702.kt")
public void testKt702() throws Exception {
doTest("compiler/testData/diagnostics/tests/inference/regressions/kt702.kt");