"Make types explicit in lambda" intention renamed to "Specify explicit lambda signature"
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class TestingUse {
|
||||
fun test3(double: (a: Int) -> Int, b: Int): Int {
|
||||
return double(b)
|
||||
}
|
||||
}
|
||||
|
||||
fun main() {
|
||||
val num = TestingUse().test3({<caret>x -> 2*x}, 20)
|
||||
}
|
||||
Reference in New Issue
Block a user