DFA bug fix: assignment of unstable to stable uses predictable type set (see test)

This commit is contained in:
Mikhail Glukhikh
2015-12-07 12:17:29 +03:00
parent 2e73bcb3a6
commit 5c9e55f3fb
6 changed files with 72 additions and 11 deletions
@@ -15066,6 +15066,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("unstableToStableTypes.kt")
public void testUnstableToStableTypes() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/unstableToStableTypes.kt");
doTest(fileName);
}
@TestMetadata("varChangedInInitializer.kt")
public void testVarChangedInInitializer() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/smartCasts/varChangedInInitializer.kt");