[Issue 6504] Regression(2.041): "str" ~ [arr] allows string literal to be modified
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 3 23:20:57 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6504
--- Comment #6 from github-bugzilla at puremagic.com 2012-02-03 23:20:55 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/5fd81965b2155abd6c5f8bbfcb9d7b1460a36b87
6504 Regression(2.041): "str" ~ [arr] allows string literal to be modified
(a) Move slicing functions from interpret.c into constfold.c
(b) move existing string ~ [arr] -> string into interpret.c
(c) create string ~ [arr] -> [arr] for non-CTFE functions.
The CTFE slicing functions are used for the conversion, to avoid code
duplication.
Fixes bug 6504.
--
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