KT-3159 Disallow overriding var with different type #KT-3159 fixed

This commit is contained in:
Kirill Berezin
2012-12-19 23:44:22 +04:00
committed by Andrey Breslav
parent e9613b95ac
commit e89a8c684f
8 changed files with 73 additions and 18 deletions
@@ -4105,6 +4105,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
public void testKt2744() throws Exception {
doTest("compiler/testData/diagnostics/tests/subtyping/kt2744.kt");
}
@TestMetadata("kt3159.kt")
public void testKt3159() throws Exception {
doTest("compiler/testData/diagnostics/tests/subtyping/kt3159.kt");
}
@TestMetadata("kt304.kt")
public void testKt304() throws Exception {