Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
codegen
/
script
/
topLevelLocalDelegatedProperty.kts
blob: 8f6346b851b9030cfc801acc0c6564927047be77 [
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