Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
specifyExplicitLambdaSignature
/
coercionToUnit.kt.after
blob: 1273425a5f50d5cb1ba405ec328fa48e02eac855 [
file
] [
log
] [
blame
]
public
class
TestingUse
{
fun test5
(
coerced
:
(
x
:
Int
)
->
Unit
,
a
:
Int
):
Unit
{
return
coerced
(
5
)
}
}
fun main
()
{
val coercion
=
TestingUse
().
test5
({
x
:
Int
->
x
+
2
},
20
)
}