New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queue.enqueue(iter: Iterable[B]) is never called #10137
Comments
Imported From: https://issues.scala-lang.org/browse/SI-10137?orig=1 |
@SethTisue said: |
@som-snytt said (edited on Jan 10, 2017 5:57:20 AM UTC):
|
@som-snytt said: |
@SethTisue said: |
@SethTisue what's the action item here? |
mutable: def enqueue(elem: A): this.type
def enqueue(elem1: A, elem2: A, elems: A*): this.type
def enqueueAll(elems: scala.collection.IterableOnce[A]): this.type immutable: def enqueue[B >: A](elem: B): Queue[B]
def enqueue[B >: A](iter: scala.collection.Iterable[B]) I assume this is the non-uniformity to which Seth was referring earlier. We should deprecate the immutable |
Cleaning up old branches, I found one with just the deprecation.
|
The expected result is
Queue("foo", "bar", "baz")
The text was updated successfully, but these errors were encountered: