Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
callableReference
/
propertyReference.kt
blob: 57d505b6a72a44eb5d3ec64df22f9db5bbe9254c [
file
]
// FILE: 1.kt
package
test
class
Foo
(
val a
:
String
)
inline
fun
<
T
>
test
(
receiver
:
T
,
selector
:
(
T
)
->
String
):
String
{
return
selector
(
receiver
)
}
// FILE: 2.kt
import
test
.*
fun box
():
String
{
return
test
(
Foo
(
"OK"
),
Foo
::
a
)
}