Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
70b97c5abe682fb7598fc5070d94c39256a0baa4
/
.
/
compiler
/
testData
/
codegen
/
script
/
topLevelLocalDelegatedProperty.kts
blob: 762e319e745878b8d202e429b9a1f2d934cdf91b [
file
]
import
kotlin
.
reflect
.
KProperty
class
Delegate
{
operator
fun getValue
(
t
:
Any
?,
p
:
KProperty
<*>):
Int
=
3
}
val prop
:
Int
by
Delegate
()
val x
=
prop
// expected: x: 3