Safe Delete: Skip usages inside of overriding to-be-deleted declarations
#KT-7253 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class J implements T {
|
||||
T u;
|
||||
|
||||
@Override
|
||||
public void foo() {
|
||||
u.foo();
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
class J implements T {
|
||||
T u;
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
interface T {
|
||||
fun <caret>foo()
|
||||
}
|
||||
|
||||
class A(val t: T) : T {
|
||||
override fun foo() {
|
||||
t.foo()
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
interface T {
|
||||
}
|
||||
|
||||
class A(val t: T) : T {
|
||||
}
|
||||
Reference in New Issue
Block a user