[dmd-internals] [D-Programming-Language/dmd] 442baf: Don't use `foreach` if the loop body modifies the ...
GitHub via dmd-internals
dmd-internals at puremagic.com
Sun Aug 30 14:21:34 PDT 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 442baf76754fc83cb2d61a5a7f0bd36438fda7f0
https://github.com/D-Programming-Language/dmd/commit/442baf76754fc83cb2d61a5a7f0bd36438fda7f0
Author: Marc Schütz <schuetzm at gmx.net>
Date: 2015-08-30 (Sun, 30 Aug 2015)
Changed paths:
M src/statement.d
A test/compilable/exception.d
Log Message:
-----------
Don't use `foreach` if the loop body modifies the iteration variable
This fixes a segfault in compiling vibe.d.
Commit: c4539ff89ebd9de75bc6b9491bba6aeb7714298e
https://github.com/D-Programming-Language/dmd/commit/c4539ff89ebd9de75bc6b9491bba6aeb7714298e
Author: Hara Kenji <k.hara.pg+dev at gmail.com>
Date: 2015-08-31 (Mon, 31 Aug 2015)
Changed paths:
M src/statement.d
A test/compilable/exception.d
Log Message:
-----------
Merge pull request #4991 from schuetzm/fix-foreach-modifying-index
Don't use `foreach` if the loop body modifies the iteration variable
Compare: https://github.com/D-Programming-Language/dmd/compare/92022f26905a...c4539ff89ebd
More information about the dmd-internals
mailing list