Skip to content

Commit

Permalink
Merge pull request #352 from dsimcha/LockstepRegression
Browse files Browse the repository at this point in the history
Update std/range.d
  • Loading branch information
andralex committed Dec 5, 2011
2 parents cc46897 + ae16fd1 commit c83edad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/range.d
Expand Up @@ -3766,9 +3766,9 @@ unittest {
lockstep(foo, foo, foo);

// Make sure it works with const.
const(int[])[] foo = [[1, 2, 3]];
const(int[])[] bar = [[4, 5, 6]];
auto c = chain(foo, bar);
const(int[])[] foo2 = [[1, 2, 3]];
const(int[])[] bar2 = [[4, 5, 6]];
auto c = chain(foo2, bar2);

foreach(f, b; lockstep(c, c)) {}
}
Expand Down

0 comments on commit c83edad

Please sign in to comment.