Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
cae7f90b594750d624e94b3325571f4b5ebff2f0
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
variableAsFunctionCall.kt
blob: 1ce6665489435e32aed0fcb9d349d7fa168ec25e [
file
] [
log
] [
blame
]
fun
String
.
k
():
()
->
String
=
{
->
this
}
fun test1
(
f
:
()
->
Unit
)
=
f
()
fun test2
(
f
:
String
.()
->
Unit
)
=
"hello"
.
f
()
fun test3
()
=
"hello"
.
k
()()
fun test4
(
ns
:
String
?)
=
ns
?.
k
()?.
invoke
()