Do not build light classes for decompiled enum entries

This commit is contained in:
Pavel V. Talanov
2015-07-21 18:25:14 +03:00
parent 4e0d2bc23c
commit edc3755b91
5 changed files with 26 additions and 1 deletions
@@ -69,4 +69,9 @@ fun test() {
}
LocalClass(localClassProperty = 1).localClassProperty
}
enum class E {
ONE,
TWO
}
@@ -0,0 +1,10 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetEnumEntry
// FIND_BY_REF
package usages
import library.E
fun main(args: Array<String>) {
E.<caret>ONE
}
@@ -0,0 +1 @@
Value read (9: 7) E.ONE