https://issues.dlang.org/show_bug.cgi?id=13208
yebblies <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice CC| |[email protected] Hardware|x86_64 |All Assignee|[email protected] |[email protected] OS|Windows |All --- Comment #2 from yebblies <[email protected]> --- Adding this chunk inside ArrayLiteralExp::semantic fixes it for(size_t i = 0; i < elements->dim; i++) { Expression *el = (*elements)[i]; if (isNonAssignmentArrayOp(el)) { el->error("array operation %s without assignment not implemented", el->toChars()); return new ErrorExp(); } } But I'll leave this to Kenji as IIRC he did this rest of this checking and would know best. I'm sure there are other places this check needs to be added. --
