FIR IDE: align resolution behavior of super with FE1.0
That is, for a labeled `super`, the keyword should resolve to the super type and the label should be resolved to the current type.
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
fun a() {}
|
||||
}
|
||||
class Foo : A {
|
||||
fun foo() {
|
||||
super@F<caret>oo.a()
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in ROOT) class Foo : A
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
interface A {
|
||||
fun a() {}
|
||||
}
|
||||
class Foo : A {
|
||||
fun foo() {
|
||||
s<caret>uper@Foo.a()
|
||||
}
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in ROOT) interface A
|
||||
Reference in New Issue
Block a user