Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
delegatedProperty
/
accessTopLevelDelegatedPropertyInClinit.kt
blob: b409bd753abde392f3f68bcf2472afdd4e9c57e5 [
file
]
import
kotlin
.
reflect
.
KProperty
// KT-5612
class
Delegate
{
operator
fun getValue
(
thisRef
:
Any
?,
prop
:
KProperty
<*>):
String
{
return
"OK"
}
}
val prop
by
Delegate
()
val a
=
prop
fun box
()
=
a