Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
operatorToFunction
/
functionCallWithSingleLambda.kt
blob: 453df8edf6044a034279424c0b7a309c97817a1b [
file
] [
log
] [
blame
]
class
Mocha
()
{
operator
fun invoke
(
f
:
(
Int
)
->
String
)
{}
}
fun main
()
{
val mocha
=
Mocha
()
val testing
=
mocha
<caret>
{
x
:
Int
->
"hello world"
}
}