added errors TYPE_PARAMETER_ON_LHS_OF_DOT,

TYPE_PARAMETER_IS_NOT_AN_EXPRESSION
fixed exception from ea
This commit is contained in:
Svetlana Isakova
2013-04-12 16:44:26 +04:00
parent 3168b732d3
commit 204ffde78a
5 changed files with 31 additions and 4 deletions
@@ -1976,6 +1976,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/incompleteCode/SupertypeOfErrorType.kt");
}
@TestMetadata("typeParameterOnLhsOfDot.kt")
public void testTypeParameterOnLhsOfDot() throws Exception {
doTest("compiler/testData/diagnostics/tests/incompleteCode/typeParameterOnLhsOfDot.kt");
}
@TestMetadata("compiler/testData/diagnostics/tests/incompleteCode/diagnosticWithSyntaxError")
public static class DiagnosticWithSyntaxError extends AbstractDiagnosticsTestWithEagerResolve {
public void testAllFilesPresentInDiagnosticWithSyntaxError() throws Exception {