diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/mill/util/AggWrapper.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/mill/util/AggWrapper.scala b/core/src/mill/util/AggWrapper.scala index c2994a9a..eefe6224 100644 --- a/core/src/mill/util/AggWrapper.scala +++ b/core/src/mill/util/AggWrapper.scala @@ -24,6 +24,7 @@ sealed class AggWrapper(strictUniqueness: Boolean){ def reverse: Agg[V] def zip[T](other: Agg[T]): Agg[(V, T)] def ++[T >: V](other: TraversableOnce[T]): Agg[T] + def length: Int } object Agg{ @@ -88,6 +89,7 @@ sealed class AggWrapper(strictUniqueness: Boolean){ def zip[T](other: Agg[T]) = Agg.from(items.zip(other.items)) def ++[T >: V](other: TraversableOnce[T]) = Agg.from(items ++ other) + def length: Int = set0.size // Members declared in scala.collection.GenTraversableOnce def isTraversableAgain: Boolean = items.isTraversableAgain |