[Issue 12985] Better error message for not supported array operation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 21 09:12:05 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12985

--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> ---
>From https://issues.dlang.org/show_bug.cgi?id=12179#c7

> The error message for the original code is:
> 
> test.d(4,6): Error: array operation a[] * a[] without assignment not
> implemented
> 
> But perhaps a better error message is related to this:
> 
> test.d(4,6): Error: array operation a[] * a[] without explicit destination
> memory not allowed
> 
> Because I think not allocating memory from array ops is a design decision,
> and it will not be implemented.

I think "without destination memory not allowed" would be better.

--


More information about the Digitalmars-d-bugs mailing list