Files
kotlin-fork/idea/testData/quickfix/changeSignature/fixExtensionLambdaSignature.kt
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

9 lines
139 B
Kotlin
Vendored

// "Change the signature of function literal" "true"
fun foo(f: Int.(Int, Int) -> Int) {
}
fun test() {
foo { <caret>a: Int -> 0 }
}