59f192ef90
Includes changes to decompiled text Old syntax is used in builtins and project code for now
17 lines
206 B
Kotlin
17 lines
206 B
Kotlin
class Test(val prop: String) {
|
|
|
|
default object {
|
|
public val prop : String = "CO";
|
|
}
|
|
|
|
}
|
|
|
|
|
|
fun box() : String {
|
|
val obj = Test("OK");
|
|
|
|
if (Test.prop != "CO") return "fail1";
|
|
|
|
return obj.prop;
|
|
}
|