Community
Participate
Working Groups
It would be nice to have a CollectionExtensions.addAll(Collection<? super T>, Iterable<? super T>) to allow code such as foo() { val r = <String>newArrayList(); r.addAll(newArrayList(newArrayList("foo")).flatten); r; }
see google.collect.Iterables#addAll(..) Current workaround: import Iterables as static extension.
I'll add CollectionExtensions#addAll and change CollectionExtension#operator_add to take an iterable instead of a collection as the second arg.
pushed to master.
Closing all bugs that were set to RESOLVED before Neon.0