Unused symbol: don't report for enum entry when enum builtin function is used

#KT-31133 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-07-20 22:06:36 +09:00
committed by Dmitry Gridin
parent 776cccf57c
commit 892135ae23
10 changed files with 154 additions and 1 deletions
@@ -0,0 +1,8 @@
// PROBLEM: none
enum class SomeEnum {
<caret>USED
}
fun test() {
enumValueOf<SomeEnum>("USED")
}