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

--- Comment #2 from [email protected] ---
(In reply to Kenji Hara from comment #1)
> With 2.066 the message is improved.
> 
> test.d(10): Error: array operation a[] ^^ 2L without assignment not
> implemented

"not implemented" seems to suggest that someday it will implemented. But by
design this is not going to happen (unless we decide to change the design of
vector ops and allocate the result of a[]^^2 on the stack). So a better error
message is:

test.d(10): Error: invalid array operation (a[] ^^ 2), no specified memory
location for its result

--

Reply via email to