[FIR] Support several super-related diagnostics
This commit is contained in:
@@ -19,10 +19,10 @@ class A<E>() : C(), T {
|
||||
super<C>@A.bar()
|
||||
super<E>.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
super<E>@A.<!UNRESOLVED_REFERENCE!>bar<!>()
|
||||
super<Int>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!NOT_A_SUPERTYPE!>super<Int><!>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
super<<!SYNTAX!><!>>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
super<() -> Unit>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
super<Unit>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!NOT_A_SUPERTYPE!>super<() -> Unit><!>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!NOT_A_SUPERTYPE!>super<Unit><!>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
super<T>@B.foo()
|
||||
super<C>@B.bar()
|
||||
}
|
||||
@@ -30,11 +30,11 @@ class A<E>() : C(), T {
|
||||
inner class B : T {
|
||||
fun test() {
|
||||
super<T>.foo();
|
||||
super<C>.bar()
|
||||
super<C>@A.bar()
|
||||
<!NOT_A_SUPERTYPE!>super<C><!>.bar()
|
||||
<!NOT_A_SUPERTYPE!>super<C>@A<!>.bar()
|
||||
super<T>@A.foo()
|
||||
super<T>@B.foo()
|
||||
super<C>@B.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
<!NOT_A_SUPERTYPE!>super<C>@B<!>.<!UNRESOLVED_REFERENCE!>foo<!>()
|
||||
super.foo()
|
||||
super
|
||||
super<T>
|
||||
|
||||
Reference in New Issue
Block a user