That's before 1.9. Follow the suggestion. Put the ...
# android
k
That's before 1.9. Follow the suggestion. Put the args in parentheses...
r
Also this is List.forEach. not Map.forEach, in case your referring to destructureing . But what exactly where you referring to?
k
Destructuring.... You're saying it doesn't work?
r
like Map.forEach {.(x,y) ->... } works before the item entry can be destructured to Key and value... there is nothing to destructure in a List
List<T>.forEach { t: T -> }
k
Put the arg in parens
(t)
r
i dont think you can do that