KT-2397 Prohibit final methods in traits with no implementation

#KT-2397 fixed
This commit is contained in:
Svetlana Isakova
2012-12-29 20:07:58 +04:00
parent 9bd4ed2a8d
commit 0b53bd25bd
7 changed files with 44 additions and 6 deletions
@@ -1475,6 +1475,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/declarationChecks/kt2142.kt");
}
@TestMetadata("kt2397.kt")
public void testKt2397() throws Exception {
doTest("compiler/testData/diagnostics/tests/declarationChecks/kt2397.kt");
}
@TestMetadata("kt2631_MultipleDeclaration.kt")
public void testKt2631_MultipleDeclaration() throws Exception {
doTest("compiler/testData/diagnostics/tests/declarationChecks/kt2631_MultipleDeclaration.kt");