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


Bernard Helyer <blood.of.l...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blood.of.l...@gmail.com


--- Comment #1 from Bernard Helyer <blood.of.l...@gmail.com> 2010-11-29 
03:55:04 PST ---
It's because you're using a string literal. parse takes it's argument by ref,
and advances the array. The string literal is not an lvalue, but is permitted
by DMD anyway -- this is the real bug. If you put the string in a variable, it
will work.

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

Reply via email to