Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
delegatedProperty
/
extensionPropertyAndExtensionGetValue.kt
blob: 1e796085d9700eac1b8d4656ef3caa9768093f86 [
file
] [
log
] [
blame
]
class
A
(
val o
:
String
)
interface
I
{
val k
:
String
}
inline
operator
fun A
.
getValue
(
thisRef
:
I
,
property
:
Any
):
String
=
o
+
thisRef
.
k
class
B
(
override
val k
:
String
)
:
I
val B
.
prop
by
A
(
"O"
)
fun box
()
=
B
(
"K"
).
prop