Safe Delete: Fixed usages search when applied to simple enum entries

#KT-11816 Fixed
This commit is contained in:
Alexey Sedunov
2016-04-20 11:44:06 +03:00
parent b35834dd18
commit 613a274c90
6 changed files with 18 additions and 1 deletions
@@ -0,0 +1,5 @@
enum class EnumTarget { <caret>RED, GREEN, BLUE }
fun refer(p: EnumTarget) {
println(p == EnumTarget.RED)
}
@@ -0,0 +1 @@
class EnumTarget.RED has 1 usage that is not safe to delete.