Call completer: safe call with nullable receiver has nullable return type #KT-11007 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-02-12 12:42:29 +03:00
committed by Mikhail Glukhikh
parent 4cd7193047
commit 17593e4ef6
6 changed files with 85 additions and 4 deletions
@@ -17252,6 +17252,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("insideIfExpr.kt")
public void testInsideIfExpr() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/safecalls/insideIfExpr.kt");
doTest(fileName);
}
@TestMetadata("longChain.kt")
public void testLongChain() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/safecalls/longChain.kt");