D-Programming-Language/dmd — pull request #693 by yebblies (2012-02-04 06:17:23+00:00)
Title: Issue 2547 - Array Ops should check length, at least when bounds checking is on

When array bounds checking is enabled, turn

`arrayOp(a, b, ...)`

into

```
auto tmpa = a, tmpb = b, tmpc = c;,
assert(tmpa.length == tmpb.length && tmpa.length == tmpc.length && ..., "length mismatch for ");,
arrayOp(tmpa, tmpb, tmpc, ...)
```

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