Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
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