Files
kotlin-fork/idea/testData/intentions/specifyExplicitLambdaSignature/coercionToUnit.kt.after
T

10 lines
195 B
Plaintext
Vendored

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)
}