scala/scala — pull request #518 by jsuereth (2012-05-09 01:54:35+00:00)
Title: Fixes SI-5328.  Iterator.patched failed when from=0.

It turns out iterator.patched forgot to drop replacement values if they were at the beginning.
This is because the index was advancing before checking to see if replaced elements should be
dropped. Moved this behavior to the beginning of next.