You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ListBuffer's insert, insertAll, update and updated accept negative positions #6632
@soc said:
Merged scala/scala@522ef79 which fixes this issue for insert, insertAll and update.
updated is not fixed, discussion needed where exactly the fix needs to be added.
@soc said:
Yes, we should fix it. That it hasn't been fixed yet was just due to my limited time available, not the lack of desire.
Imho a good way to start would be to survey whether there is some kind of implicit consensus in the other implementations on how to behave and it's just this one which behaves differently, or whether implementations' behavior in error cases is all over the place.
Additionally, it would make sense to see how other languages/libraries deal with those kinds of input and try to learn whether their approach works better than maybe the straightforward approach we might gather while looking at Scala's collections solely.
@adriaanm said:
Since 2.11.0-RC1 is one week away, pushing all non-blockers without PR to 2.11.1-RC1. Please undo the change if I missed work in progress.
Activity
scabug commentedon Nov 9, 2012
Imported From: https://issues.scala-lang.org/browse/SI-6632?orig=1
Reporter: @soc
Affected Versions: 2.9.2, 2.10.0-RC1, 2.10.0-RC2, 2.10.0, 2.11.0-M1
scabug commentedon Nov 24, 2012
@soc said:
Merged scala/scala@522ef79 which fixes this issue for insert, insertAll and update.
updated is not fixed, discussion needed where exactly the fix needs to be added.
scabug commentedon Feb 2, 2013
@JamesIry said:
Making this change could break user code that "works" with negative indexes. I'm kicking to 2.11.0
scabug commentedon Mar 15, 2013
@adriaanm said:
Un-assigning to foster work stealing, as announced in https://groups.google.com/forum/?fromgroups=#!topic/scala-internals/o8WG4plpNkw
scabug commentedon Oct 15, 2013
@gkossakowski said:
Unassigning and rescheduling to M7 as previous deadline was missed.
scabug commentedon Dec 23, 2013
@Ichoran said:
Updated still not fixed. I'm happy to do so, if we agree it should be fixed rather than documenting the admittedly weird behavior.
scabug commentedon Dec 24, 2013
@SethTisue said:
+1 on fixing for 2.11
scabug commentedon Dec 31, 2013
@soc said:
Yes, we should fix it. That it hasn't been fixed yet was just due to my limited time available, not the lack of desire.
Imho a good way to start would be to survey whether there is some kind of implicit consensus in the other implementations on how to behave and it's just this one which behaves differently, or whether implementations' behavior in error cases is all over the place.
Additionally, it would make sense to see how other languages/libraries deal with those kinds of input and try to learn whether their approach works better than maybe the straightforward approach we might gather while looking at Scala's collections solely.
scabug commentedon Dec 31, 2013
@soc said:
This is kind of fishy, too:
scabug commentedon Feb 10, 2014
@adriaanm said:
Since 2.11.0-RC1 is one week away, pushing all non-blockers without PR to 2.11.1-RC1. Please undo the change if I missed work in progress.
scabug commentedon Feb 14, 2014
@Ichoran said:
Fixed updated. Waiting for Jenkins to tell me the fallout, if any.
scala/scala#3530