Add Safe Delete tests for extension functions and properties
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
class A {
|
||||
void bar() {
|
||||
TestPackage.getFoo("");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
import test.foo
|
||||
|
||||
val String.<caret>foo = "foo"
|
||||
@@ -0,0 +1 @@
|
||||
property test.foo has 1 usage that is not safe to delete.
|
||||
Reference in New Issue
Block a user