mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
14 lines
270 B
Kotlin
Vendored
14 lines
270 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
open class Bar<T>(val prop: String)
|
|
class Foo {
|
|
companion 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 |