Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 260a01fe80a3383a28e20ca18d03fc34615e4db4
https://github.com/D-Programming-Language/dmd/commit/260a01fe80a3383a28e20ca18d03fc34615e4db4
Author: Mathias Lang <[email protected]>
Date: 2015-12-03 (Thu, 03 Dec 2015)
Changed paths:
M src/statement.d
M test/runnable/testswitch.d
Log Message:
-----------
Fix issue 15396 - static immutable doesn't work in case statement
We should pass `WANTexpand` to `optimize` in addition to `WANTvalue` in order
to get the value out of `static immutable` (and `static const`) variable.
Commit: fb91273fab2148eb8d80f80de31a2e7df30bb544
https://github.com/D-Programming-Language/dmd/commit/fb91273fab2148eb8d80f80de31a2e7df30bb544
Author: Hara Kenji <[email protected]>
Date: 2015-12-03 (Thu, 03 Dec 2015)
Changed paths:
M src/statement.d
M test/runnable/testswitch.d
Log Message:
-----------
Merge pull request #5295 from mathias-lang-sociomantic/fix-15396
Fix issue 15396 - static immutable doesn't work in case statement
Compare:
https://github.com/D-Programming-Language/dmd/compare/dc364a674c21...fb91273fab21_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals