"Make types explicit in lambda" intention renamed to "Specify explicit lambda signature"

This commit is contained in:
Valentin Kipyatkov
2015-04-28 15:16:43 +03:00
parent f9d690db21
commit f1fa33548a
29 changed files with 90 additions and 90 deletions
@@ -0,0 +1,9 @@
class TestingUse {
fun test3(double: (a: Int) -> Int, b: Int): Int {
return double(b)
}
}
fun main() {
val num = TestingUse().test3({ x: Int -> 2*x}, 20)
}