b52f337f7f
Place valueOf() and values() into the static scope of the corresponding enum class #KT-5580 Fixed #KT-2410 Fixed
11 lines
166 B
Kotlin
11 lines
166 B
Kotlin
enum class E {
|
|
ENTRY
|
|
|
|
private class object
|
|
}
|
|
|
|
fun foo() = E.values()
|
|
fun bar() = E.valueOf("ENTRY")
|
|
fun baz() = E.ENTRY
|
|
fun quux() = <!INVISIBLE_MEMBER!>E<!>
|