Safe Delete: Fixed usages search when applied to simple enum entries
#KT-11816 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
enum class EnumTarget { <caret>RED, GREEN, BLUE }
|
||||
|
||||
fun refer(p: EnumTarget) {
|
||||
println(p == EnumTarget.RED)
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class EnumTarget.RED has 1 usage that is not safe to delete.
|
||||
Reference in New Issue
Block a user