mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
20 lines
292 B
Kotlin
20 lines
292 B
Kotlin
class Test {
|
|
default object {
|
|
var prop: Int
|
|
get() {
|
|
return 10
|
|
}
|
|
set(i : Int) {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
// TESTED_OBJECT_KIND: property
|
|
// TESTED_OBJECTS: Test, prop
|
|
// ABSENT: TRUE
|
|
|
|
// TESTED_OBJECT_KIND: property
|
|
// TESTED_OBJECTS: Test$Default, prop
|
|
// ABSENT: TRUE
|