supertype of error type should be an error type, not any

This commit is contained in:
Svetlana Isakova
2013-01-10 11:00:53 +04:00
parent 142d9a090c
commit 33a82da493
3 changed files with 32 additions and 0 deletions
@@ -1913,6 +1913,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/incompleteCode/senselessComparisonWithNull.kt");
}
@TestMetadata("SupertypeOfErrorType.kt")
public void testSupertypeOfErrorType() throws Exception {
doTest("compiler/testData/diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt");
}
@TestMetadata("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError")
public static class DiagnosticWithSyntaxError extends AbstractDiagnosticsTestWithEagerResolve {
public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception {