mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
Merge pull request #8979 from ntrel/path-for
Fix ref foreach range variable
This commit is contained in:
commit
2fd8aae438
1 changed files with 1 additions and 1 deletions
|
@ -3397,7 +3397,7 @@ do
|
|||
else
|
||||
{
|
||||
C[] pattmp;
|
||||
foreach (ref pi; 0 .. pattern.length)
|
||||
for (size_t pi = 0; pi < pattern.length; pi++)
|
||||
{
|
||||
const pc = pattern[pi];
|
||||
switch (pc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue