Move: Do not process 'super' references

#KT-6769 Fixed
This commit is contained in:
Alexey Sedunov
2015-02-12 15:30:01 +03:00
parent ae970044e2
commit ecd9ee45c8
9 changed files with 61 additions and 6 deletions
@@ -0,0 +1,6 @@
package a
open class A {
fun foo() {}
}
@@ -0,0 +1,9 @@
package b
import a.A
open class B : A() {
fun t() {
super.foo()
}
}
@@ -0,0 +1,7 @@
package b
class C: B() {
fun test() {
super.t()
}
}
@@ -0,0 +1,11 @@
package a
open class A {
fun foo() {}
}
open class <caret>B : A() {
fun t() {
super.foo()
}
}
@@ -0,0 +1,7 @@
package b
class C: a.B() {
fun test() {
super.t()
}
}
@@ -0,0 +1,5 @@
{
"mainFile": "a/main.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "b"
}