fixed bug: 'isStatement' for function body == 'hasBlockBody'
not vice versa
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
package a
|
||||
//+JDK
|
||||
|
||||
fun <T> Array<T>.forEach(operation: (T) -> Unit) : Unit = for (element in this) operation(element)
|
||||
fun <T> Array<T>.forEach(operation: (T) -> Unit) : Unit { for (element in this) operation(element) }
|
||||
|
||||
fun bar(operation: (String) -> Unit) = operation("")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user