mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
12 lines
195 B
Kotlin
12 lines
195 B
Kotlin
enum class E {
|
|
FIRST
|
|
|
|
SECOND {
|
|
default <!DEFAULT_OBJECT_NOT_ALLOWED!>object<!> {
|
|
fun foo() = 42
|
|
}
|
|
}
|
|
}
|
|
|
|
fun f() = E.SECOND.<!UNRESOLVED_REFERENCE!>foo<!>()
|