KT-7007 Go to declaration doesn't work inside enum class
#KT-7007 fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// KT-7007 Go to declaration doesn't work inside enum class
|
||||
|
||||
val TOP_LEVEL = 5
|
||||
|
||||
enum class MyEnum(value: Int) {
|
||||
VALUE : MyEnum(TOP_LEVEL)
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
MyEnum.VALUE
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
val TOP_LEVEL = 5
|
||||
|
||||
enum class MyEnum(value: Int) {
|
||||
VALUE : MyEnum(<caret>TOP_LEVEL)
|
||||
}
|
||||
|
||||
// REF: (test).TOP_LEVEL
|
||||
Reference in New Issue
Block a user