Skip to content
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

2.11.0-M7 regression in ++(Iterator) #8014

Closed
scabug opened this issue Nov 27, 2013 · 4 comments
Closed

2.11.0-M7 regression in ++(Iterator) #8014

scabug opened this issue Nov 27, 2013 · 4 comments
Assignees
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Nov 27, 2013

Ready for this? This is a good one.

scala> Vector() ++ Iterator(1)
res9: scala.collection.immutable.Vector[Int] = Vector(1)

scala> Vector() ++ Iterator(1, 2)
res10: scala.collection.immutable.Vector[Int] = Vector(1, 2)

scala> Vector() ++ Iterator(1, 2, 3)
res11: scala.collection.immutable.Vector[Int] = Vector()

was fine in 2.11.0-M5.

I can't seem to find another combination of types besides Vector + Iterator on which it fails

@scabug
Copy link
Author

scabug commented Nov 27, 2013

Imported From: https://issues.scala-lang.org/browse/SI-8014?orig=1
Reporter: @SethTisue
Affected Versions: 2.11.0-M7

@scabug
Copy link
Author

scabug commented Nov 27, 2013

@SethTisue said (edited on Nov 27, 2013 6:12:21 PM UTC):
OlegYch and datura on #scala figured out the culprit appears to be scala/scala@4234b34#diff-59f3462485b74027de4fd5e9febcc81b from the fix for #7725. case _ => super.\+\+(that) should be case _ => super.\+\+(again)

@scabug
Copy link
Author

scabug commented Nov 27, 2013

@Ichoran said:
Whoops. Good catch. I'll fix it as soon as I have a moment.

@scabug
Copy link
Author

scabug commented Dec 4, 2013

@adriaanm said:
scala/scala#3213

@scabug scabug closed this as completed Dec 4, 2013
@scabug scabug added the blocker label Apr 7, 2017
@scabug scabug added this to the 2.11.0-M8 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants