Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ebcc2cc3b207156c1c0e90e5107aa356b8fa8d72
/
.
/
compiler
/
testData
/
codegen
/
box
/
statics
/
inheritedPropertyInClassObject.kt
blob: 2ab591a3f58b0aa9f7afd194a0f1a94c42033857 [
file
]
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