[Issue 4251] Hole in the const system: immutable values can be overwritten (const(T) is appendable to const(T)[])

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 16 01:45:48 PDT 2011


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



--- Comment #6 from yebblies <yebblies at gmail.com> 2011-06-16 01:41:07 PDT ---
(In reply to comment #5)
> I agree about the first five of these.  But I'm not sure if this last one is
> safe.  I'll think about it when I've more time.  In any case, see this set of
> rules I proposed before:
> 
I haven't been able to think of a way to break it, but that doesn't mean there
isn't one!

> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=81566

I did find this today.  As far as I can tell, this fix combined with the fix
for issue 2095 fixes it all.

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