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