[Issue 6169] [CTFE] pure functions cannot compute constants using functions not marked as pure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 4 09:48:21 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6169
--- Comment #9 from github-bugzilla at puremagic.com 2013-05-04 09:48:17 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/42d1af1635fec1c43bbda6c4a3894e148ca6fc22
Fix Issue 6169 - [CTFE] pure functions cannot compute constants using functions
not marked as pure
When running semantic on an expression used anywhere that forces compile time
evaluation, use a scope flag to prevent purity and safety checks on function
calls.
This allows better purity/safety inferrence as well.
https://github.com/D-Programming-Language/dmd/commit/15a57832d0a9ed18eb619c58261db6c2eedc663e
Merge pull request #652 from yebblies/issue6169
Issue 6169 - [CTFE] pure functions cannot compute constants using functions not
marked as pure
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list