diff options
author | Rex Kerr <ichoran@gmail.com> | 2014-08-24 17:55:20 -0700 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2014-09-11 20:20:34 -0700 |
commit | 1da69e82a1ccf2327b337068de1209d772cb6b52 (patch) | |
tree | 69317c8d38024b58abd2cd459116978c1142d509 /test/files/neg/t8430.check | |
parent | 7c8eaef41cacaa34cd691fb81e58d2d80428c661 (diff) | |
download | scala-1da69e82a1ccf2327b337068de1209d772cb6b52.tar.gz scala-1da69e82a1ccf2327b337068de1209d772cb6b52.tar.bz2 scala-1da69e82a1ccf2327b337068de1209d772cb6b52.zip |
SI-8815 mutable.LongMap makes different choices for splitAt vs etc.
It turns out that take/drop/splitAt/takeWhile/dropWhile inherit a smattering of foreach vs. iterator-based implementations. These aren't consistent unless they iterate in the same order. This probably reflects an undesirable underlying weakness, but in this particular case it was easy to make LongMap's foreach order agree with iterator.
Made traversal order of other foreach-like methods match also.
Also fixed a bug where Long.MinValue wasn't iterated.
Added unit test for iteration coverage of extreme values.
Diffstat (limited to 'test/files/neg/t8430.check')
0 files changed, 0 insertions, 0 deletions