mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
20 lines
244 B
Kotlin
20 lines
244 B
Kotlin
class Klass {
|
|
default object {
|
|
val NAME = "Klass"
|
|
}
|
|
}
|
|
|
|
trait Trait {
|
|
default object {
|
|
val NAME = "Trait"
|
|
}
|
|
}
|
|
|
|
enum class Enoom {
|
|
default object {
|
|
val NAME = "Enoom"
|
|
}
|
|
}
|
|
|
|
fun box() = Test().test()
|