diff options
author | Eugene Vigdorchik <eugene.vigdorchik@gmail.com> | 2013-05-22 19:51:47 +0400 |
---|---|---|
committer | Eugene Vigdorchik <eugene.vigdorchik@gmail.com> | 2013-05-22 21:18:07 +0400 |
commit | 84d9b520c2836488e4e1268ad972d232ab54b1c7 (patch) | |
tree | 8e390d343894fa02f06fb6cbf8955b3c72381130 /test/files/run/virtpatmat_alts.scala | |
parent | 085b4d9bdb7ba9f9fe00c63e998e93278a34b161 (diff) | |
download | scala-84d9b520c2836488e4e1268ad972d232ab54b1c7.tar.gz scala-84d9b520c2836488e4e1268ad972d232ab54b1c7.tar.bz2 scala-84d9b520c2836488e4e1268ad972d232ab54b1c7.zip |
SI-7502 removing non-existent element from ListMap returns same map.
Current imperative version constructs a new ListMap regardless of
the fact the map doesn't contain the element. Replace it with the
tail-recursive variant that conserves. Also replace some usages with
the invariant now held.
Diffstat (limited to 'test/files/run/virtpatmat_alts.scala')
0 files changed, 0 insertions, 0 deletions