Files
kotlin-fork/idea/testData/quickfix/changeSignature/changeFunctionLiteralParameters2.kt.after
T
Denis Zharkov 1d90b2e1fe Get rid of obsolete syntax in quickfixes changing lambda's signature
- Do not wrap parameters with '()'
- Do not set return type for them
- Fix existing testData
2015-09-25 08:29:26 +03:00

7 lines
176 B
Plaintext
Vendored

// "Change the signature of function literal" "true"
// DISABLE-ERRORS
fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) {
f(1, 2, { i: Int, i1: Int?, any: Any -> x});
}