Do not create KotlinTypeImpl with error scope while erasing

See assertion in KotlinTypeImpl init block
This commit is contained in:
Denis Zharkov
2015-11-30 19:08:19 +03:00
parent e2b51f30ed
commit 8838e46578
4 changed files with 37 additions and 0 deletions
@@ -11903,6 +11903,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("errorType.kt")
public void testErrorType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/platformTypes/rawTypes/errorType.kt");
doTest(fileName);
}
@TestMetadata("genericInnerClass.kt")
public void testGenericInnerClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/platformTypes/rawTypes/genericInnerClass.kt");