benleggiero
01/22/2018, 11:43 PMfoos.forEach { bar = it }
Doesn’t the block forEach takes return Unit? And doesn’t the last line of a block count as its return value? The Kotlin compiler knows what I mean in this case, and so doesn’t bug me about not returning Unit, but for some reason up there it cares?