diff options
author | Martin Odersky <odersky@gmail.com> | 2016-03-09 08:26:23 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-03-12 16:08:39 +0100 |
commit | 6ddc9112d0eb8a0f32b82c236244defdaeec5ce8 (patch) | |
tree | d9a323c66e73478ead3257371ded5a35609a4f19 /tests | |
parent | c0927cf6a8c622d38f262939266145e48e0bc092 (diff) | |
download | dotty-6ddc9112d0eb8a0f32b82c236244defdaeec5ce8.tar.gz dotty-6ddc9112d0eb8a0f32b82c236244defdaeec5ce8.tar.bz2 dotty-6ddc9112d0eb8a0f32b82c236244defdaeec5ce8.zip |
Fix assert in Rewrites
`Iterator.sliding(2, 1)` returns a one-element result if the original iterator
contains only one element, which makes it unpleasant to use for our task. Replaced
by a fold.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions