KT-304: Resolve supertype reference to class anyway.
#KT-304 Fixed
This commit is contained in:
@@ -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");
|
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")
|
@TestMetadata("kt-1457.kt")
|
||||||
public void testKt_1457() throws Exception {
|
public void testKt_1457() throws Exception {
|
||||||
doTest("compiler/testData/diagnostics/tests/subtyping/kt-1457.kt");
|
doTest("compiler/testData/diagnostics/tests/subtyping/kt-1457.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user