Safe Delete: Use actual usage PSI in UsageInfo instead of declaration
#KT-19161 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
fun foo() {
|
||||
val <caret>x = 1
|
||||
println(x)
|
||||
println(x)
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
variable test.foo.x has 2 usages that are not safe to delete.
|
||||
+1
-1
@@ -1 +1 @@
|
||||
type alias MyString has 1 usage that is not safe to delete.
|
||||
type alias MyString has 2 usages that are not safe to delete.
|
||||
Reference in New Issue
Block a user