Report error on nullable type alias in class literal

#KT-15736 Fixed
This commit is contained in:
Alexander Udalov
2017-01-16 12:50:45 +03:00
parent 284b9d2ba6
commit 6a352a1da7
9 changed files with 53 additions and 21 deletions
@@ -3064,6 +3064,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("typealiases.kt")
public void testTypealiases() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/classLiteral/typealiases.kt");
doTest(fileName);
}
@TestMetadata("unresolvedClass.kt")
public void testUnresolvedClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/classLiteral/unresolvedClass.kt");