Drop QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE diagnostic in 1.7.0
#KT-49016 Fixed
This commit is contained in:
committed by
teamcity
parent
f53cd22253
commit
0739925869
+3
-2
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +QualifiedSupertypeMayBeExtendedByOtherSupertype
|
||||
interface IBase<T> {
|
||||
fun foo() {}
|
||||
fun bar() {}
|
||||
@@ -11,8 +12,8 @@ interface IDerived<T> : IBase<T> {
|
||||
|
||||
class Test : IDerived<String>, IBase<String> {
|
||||
fun test() {
|
||||
super<<!QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE!>IBase<!>>.foo()
|
||||
super<<!QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE!>IBase<!>>.bar()
|
||||
super<IBase>.foo()
|
||||
super<IBase>.bar()
|
||||
super<IDerived>.foo()
|
||||
super<IDerived>.bar()
|
||||
super<IDerived>.qux()
|
||||
|
||||
+3
-2
@@ -1,4 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +QualifiedSupertypeMayBeExtendedByOtherSupertype
|
||||
interface IBase {
|
||||
fun foo() {}
|
||||
fun bar() {}
|
||||
@@ -17,8 +18,8 @@ class Test : IDerived1, IBase, IDerived2 {
|
||||
override fun foo() {}
|
||||
|
||||
fun test() {
|
||||
super<<!QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE!>IBase<!>>.foo()
|
||||
super<<!QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE!>IBase<!>>.bar()
|
||||
super<IBase>.foo()
|
||||
super<IBase>.bar()
|
||||
|
||||
super<IDerived1>.foo()
|
||||
super<IDerived1>.bar()
|
||||
|
||||
Reference in New Issue
Block a user