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


nfx...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfx...@gmail.com
            Summary|const(T) is appendable to   |Hole in the const system:
                   |const(T)[]                  |immutable values can be
                   |                            |overwritten (const(T) is
                   |                            |appendable to const(T)[])
           Severity|major                       |blocker


--- Comment #1 from nfx...@gmail.com 2010-07-13 10:57:33 PDT ---
Isn't this a really really really bad bug in the language specification?

Obviously you shouldn't be able to overwrite immutable values (unless you use
unsafe tricks).

What can be done to fix this hole in the const system?

Just disallowing appending const(T) to const(T)[] isn't really an option, is
it?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to