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
12 lines
176 B
Kotlin
12 lines
176 B
Kotlin
import A.Nested
|
|
|
|
class A {
|
|
class Nested {
|
|
default object {
|
|
fun invoke(i: Int) = i
|
|
}
|
|
}
|
|
}
|
|
|
|
fun box() = if (Nested(42) == 42) "OK" else "fail"
|