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:
+3
-3
@@ -1,5 +1,5 @@
|
||||
fun test() {
|
||||
SamTest.test(Foo<String, Int> { (s, n) -> "" })
|
||||
SamTest.test(Foo { (s: String, n: Int) -> "" })
|
||||
SamTest.test(Foo { (s: String, n: Int): String -> "" })
|
||||
SamTest.test(Foo<String, Int> { s, n -> "" })
|
||||
SamTest.test(Foo { s: String, n: Int -> "" })
|
||||
SamTest.test(Foo { s: String, n: Int -> "" })
|
||||
}
|
||||
Reference in New Issue
Block a user