mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 00:21:35 +00:00
Includes changes to decompiled text Old syntax is used in builtins and project code for now
13 lines
238 B
Kotlin
13 lines
238 B
Kotlin
open class Bar<T>(val prop: String)
|
|
class Foo {
|
|
default object : Bar<Foo>("OK") {
|
|
val p = Foo.prop
|
|
val p2 = prop
|
|
val p3 = this.prop
|
|
}
|
|
|
|
val p4 = Foo.prop
|
|
val p5 = prop
|
|
}
|
|
|
|
fun box(): String = Foo.prop |