"Redundant lambda arrow" inspection: Also report arrow with single underscore parameter #KT-24728 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-06-08 11:20:12 +09:00
committed by asedunov
parent 20535feb31
commit b5ba475696
4 changed files with 34 additions and 5 deletions
@@ -0,0 +1,5 @@
fun foo(f: () -> Unit) {}
fun bar() {
foo { <caret>_ -> }
}
@@ -0,0 +1,5 @@
fun foo(f: () -> Unit) {}
fun bar() {
foo { <caret>}
}