KT-304: Resolve supertype reference to class anyway.

#KT-304 Fixed
This commit is contained in:
Pavel V. Talanov
2012-07-24 19:10:48 +04:00
parent fc4a7cd4dd
commit 22af8f7296
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,7 @@
//KT-304: Resolve supertype reference to class anyway
open class Foo() : <!WRONG_NUMBER_OF_TYPE_ARGUMENTS!>Bar<!>() {
}
open class Bar<T>() {
}
@@ -2675,6 +2675,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/subtyping/kt2069.kt");
}
@TestMetadata("kt304.kt")
public void testKt304() throws Exception {
doTest("compiler/testData/diagnostics/tests/subtyping/kt304.kt");
}
@TestMetadata("kt-1457.kt")
public void testKt_1457() throws Exception {
doTest("compiler/testData/diagnostics/tests/subtyping/kt-1457.kt");