We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913ef46 commit 1ea91e6Copy full SHA for 1ea91e6
std/range/package.d
@@ -6095,8 +6095,9 @@ private struct LockstepMixin(Ranges...)
6095
{
6096
indexDef = q{
6097
size_t index = ranges[0].length - 1;
6098
- enforce(this.stoppingPolicy == StoppingPolicy.requireSameLength,
6099
- "lockstep can only be used with foreach_reverse when stoppingPolicy == requireSameLength");
+ enforce(
+ this.stoppingPolicy == StoppingPolicy.requireSameLength,
6100
+ "Indexed lockstep can only be used with foreach_reverse when stoppingPolicy == requireSameLength");
6101
6102
foreach (range; ranges[1 .. $])
6103
enforce(range.length == ranges[0].length);
0 commit comments