[Issue 8350] Misleading error message with invalid array operation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 7 04:27:33 PDT 2012


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
                 CC|                            |yebblies at gmail.com
            Summary|array operation not fully   |Misleading error message
                   |implemented                 |with invalid array
                   |                            |operation


--- Comment #1 from yebblies <yebblies at gmail.com> 2012-07-07 21:27:32 EST ---
The error message here is wrong, it's not that the array operation isn't
implemented, it's that 'size_t[] b = a[] + 1;' is not a valid array operation,
it would require allocating storage for b.

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