Fixed incorrect handling of this and super expressions in copy/paste processing and optimize imports

This commit is contained in:
Valentin Kipyatkov
2015-10-19 14:39:54 +03:00
parent 33d206ab22
commit 66ea544a48
6 changed files with 49 additions and 3 deletions
@@ -0,0 +1,3 @@
package b
open class `super`
+19
View File
@@ -0,0 +1,19 @@
package a
import java.util.ArrayList
class A : b.`super`() {
fun f() {
this.f()
}
override fun getUsableSpace(): Long {
return super.getUsableSpace()
}
companion object {
fun g() {
this.g()
}
}
}
@@ -0,0 +1,17 @@
package a
class A : b.`super`() {
fun f() {
this.f()
}
override fun getUsableSpace(): Long {
return super.getUsableSpace()
}
companion object {
fun g() {
this.g()
}
}
}