DONT_CARE placeholder can be nullable after a substitution

Interpret it as DONT_CARE as well (not as an error type where an error was generated before)
 #KT-6175 Fixed
This commit is contained in:
Svetlana Isakova
2014-11-11 17:45:49 +03:00
parent 8ad017c071
commit 8109b1f997
9 changed files with 250 additions and 4 deletions
@@ -4915,6 +4915,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("kt6175.kt")
public void testKt6175() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/inference/kt6175.kt");
doTest(fileName);
}
@TestMetadata("kt619.kt")
public void testKt619() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/inference/kt619.kt");