diff options
author | Rex Kerr <ichoran@gmail.com> | 2015-08-29 12:56:59 -0700 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2015-08-29 12:56:59 -0700 |
commit | 60cdb31dfb10c1af4dd4bd477afd38b5c67f89d7 (patch) | |
tree | 266126211857dd92be25304bda14248e8bc2f122 /src/library-aux | |
parent | 6426d0ba5636e8aa7d16111b79c46fe22eb182b4 (diff) | |
download | scala-60cdb31dfb10c1af4dd4bd477afd38b5c67f89d7.tar.gz scala-60cdb31dfb10c1af4dd4bd477afd38b5c67f89d7.tar.bz2 scala-60cdb31dfb10c1af4dd4bd477afd38b5c67f89d7.zip |
SI-9407 Vector implementation bit-shift bugfix
Fixed logically incorrect or unnecessary code in Vector as reported by Dirk Toewe.
No tests. Because of the size of the vectors, tests would be impractically slow. Also, the logic is quite clear: when you are recursing through a tree, using the wrong bit shift means you hit the wrong part of the tree, and when you create and then always overwrite a mutable var, you should just not do it to begin with.
Diffstat (limited to 'src/library-aux')
0 files changed, 0 insertions, 0 deletions