summaryrefslogtreecommitdiff
path: root/test/files/run/t6150.scala
Commit message (Collapse)AuthorAgeFilesLines
* Modified SI-6150 fix to use intended ReusableCBF.Paul Phillips2012-08-161-23/+25
| | | | I also realized it didn't have to be lazy, and made it so.
* Fixes SI-6150.Aleksandar Prokopec2012-08-151-0/+34
Removes the `VectorReusableCBF` and pattern matching on it in optimized `Vector` methods. Instead, we now have a new `ReusableCBF` instance in `IndexedSeq` and check for equality when trying to optimize `:+`, `+:` and `updated`. This overridden `ReusableCBF` is used by `IndexedSeq`, `immutable.IndexedSeq` and `immutable.Vector`. The net effect is that calling `:+` and similar methods on a `Vector` instance with a `CBF` that came from `IndexedSeq` or somewhere lower in the hierarchy will always create a `Vector` using the optimized method.