丸括弧の外側に移動できるラムダ式を報告します。

例:


fun square(a: Int, b: (Int) -> Int) {
  b(a * a)
}

fun foo() {
  square(2, { it })
}

クイックフィックス適用後:


fun foo() {
  square(2){ it }
}