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


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzi...@digitalmars.com
         Resolution|                            |INVALID


--- Comment #2 from Walter Bright <bugzi...@digitalmars.com> 2010-11-16 
20:13:51 PST ---
null is a valid value for a slice, and the rvalue of the assignment is expected
to be a slice. It's a slice with 0 length (which is still a valid slice), and
for slice assignment to work the length of the lvalue must match the length of
the rvalue. The message is correct - the lengths don't match.

This is working as designed.

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

Reply via email to