[dmd-internals] [D-Programming-Language/dmd] b52dca: Fix issue 8498 modifying foreach range iterator fa...
GitHub
noreply at github.com
Thu Nov 1 23:49:25 PDT 2012
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: b52dca5a53def60352dbcbf4f398c10abb2cb6b1
https://github.com/D-Programming-Language/dmd/commit/b52dca5a53def60352dbcbf4f398c10abb2cb6b1
Author: Don Clugston <don.clugston at sociomantic.com>
Date: 2012-10-30 (Tue, 30 Oct 2012)
Changed paths:
M src/interpret.c
M test/compilable/interpret3.d
Log Message:
-----------
Fix issue 8498 modifying foreach range iterator fails in CTFE
This was caused by ignoring assignment to ref variables.
(These guys can only be created by the inliner, or by lowering,
such as happens in foreach).
Also fixes bug 7658: assignment to ref in foreach.
Also fixes bug 8539: nested functions, ref parameter, -inline.
Commit: 77def361eae2f71898a7eba459e5512dae724c45
https://github.com/D-Programming-Language/dmd/commit/77def361eae2f71898a7eba459e5512dae724c45
Author: Daniel Murphy <yebblies at gmail.com>
Date: 2012-11-01 (Thu, 01 Nov 2012)
Changed paths:
M src/interpret.c
M test/compilable/interpret3.d
Log Message:
-----------
Merge pull request #1235 from donc/ctfe8498regression_foreach
CTFE 'ref' regression 8498 + bugs 7658 and 8539
Compare: https://github.com/D-Programming-Language/dmd/compare/1dc9007c2844...77def361eae2
More information about the dmd-internals
mailing list