Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
script
/
topLevelLocalDelegatedProperty.kts
blob: a0e6ed346b948ad76f1bdddeb93c780e3d9c4cce [
file
]
// JVM_ABI_K1_K2_DIFF: KT-63960, KT-63963
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