Add intention to convert lambda to anonymous function #KT-7710 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-05-07 07:30:50 +03:00
committed by Mikhail Glukhikh
parent 8ef4b9a8e1
commit 8a20d1bf01
46 changed files with 437 additions and 0 deletions
@@ -2,6 +2,7 @@
// ACTION: Move lambda argument into parentheses
// ACTION: Remove explicit lambda parameter types (may break code)
// ACTION: Rename to _
// ACTION: Convert to anonymous function
fun foo(block: (String, Int) -> Unit) {
block("", 1)