KT-3378 "Type mismatch on override" not present when the initializer is syntactically incorrect

#KT-3378 Fixed
This commit is contained in:
Wojciech Lopata
2013-03-05 18:53:06 +01:00
committed by Evgeny Gerashchenko
parent 09c3edcbc7
commit 75528e0a4a
3 changed files with 30 additions and 11 deletions
@@ -469,6 +469,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/TypeInference.kt");
}
@TestMetadata("TypeMismatchOnOverrideWithSyntaxErrors.kt")
public void testTypeMismatchOnOverrideWithSyntaxErrors() throws Exception {
doTest("compiler/testData/diagnostics/tests/TypeMismatchOnOverrideWithSyntaxErrors.kt");
}
@TestMetadata("UninitializedOrReassignedVariables.kt")
public void testUninitializedOrReassignedVariables() throws Exception {
doTest("compiler/testData/diagnostics/tests/UninitializedOrReassignedVariables.kt");