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
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
// DISABLE-ERRORS
|
||||
|
||||
fun f(x: Int, y: Int, z : (Int, Int?, Any) -> Int) {
|
||||
f(1, 2, {(<caret>x: Int) -> x});
|
||||
f(1, 2, {<caret>x: Int -> x});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user