[Issue 6504] Regression(2.041): "str" ~ [arr] allows string literal to be modified

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 1 14:05:47 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6504



--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2012-02-01 14:05:45 PST ---
I found out it causes the seg fault after posting last night. I don't quite
understand your suggestion. Do you have a fix that can be pulled?

I did try just not constant folding "string"~['c'] and letting that be done at
runtime, but that caused interpret3.d to fail, as it relies on the constant
folder to do that.

So I think that can work if you enhance CTFE to handle the "string"~['c'] case.

-- 
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