报告具有 = { ... } 和推断返回类型的函数。

示例:


  fun sum(a: Int, b: Int) = { a + b } // 此函数的返回类型为 '() -> Int'。

该快速修复会移除大括号:


  fun sum(a: Int, b: Int) = a + b