Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
67ac90ce0868ee0c9cd08d72460f16efecded549
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
dontReify
/
localDelegatedProperty.kt
blob: 9daeb81c060cd5f1849dee1fe6b6f664e2d330a6 [
file
]
// FILE: 1.kt
import
kotlin
.
reflect
.
KProperty
inline
fun
<
T
>
foo
():
String
{
val x
:
T
by
""
return
x
as
String
}
operator
fun
<
T
>
String
.
getValue
(
nothing
:
Any
?,
property
:
KProperty
<*>)
=
"OK"
as
T
// FILE: 2.kt
fun box
()
=
foo
<
Int
>()