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
8 lines
195 B
Kotlin
8 lines
195 B
Kotlin
class SomeClass { default object }
|
|
|
|
fun box() =
|
|
if ((SomeClass.toString() as java.lang.String).matches("SomeClass\\\$Default@[0-9a-fA-F]+"))
|
|
"OK"
|
|
else
|
|
"Fail: $SomeClass"
|