Move: Do not process 'super' references
#KT-6769 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
package a
|
||||
|
||||
open class A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package b
|
||||
|
||||
import a.A
|
||||
|
||||
open class B : A() {
|
||||
fun t() {
|
||||
super.foo()
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package b
|
||||
|
||||
class C: B() {
|
||||
fun test() {
|
||||
super.t()
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package a
|
||||
|
||||
open class A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
open class <caret>B : A() {
|
||||
fun t() {
|
||||
super.foo()
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package b
|
||||
|
||||
class C: a.B() {
|
||||
fun test() {
|
||||
super.t()
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "a/main.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": "b"
|
||||
}
|
||||
Reference in New Issue
Block a user