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