July 20, 2012 [dmd-internals] [D-Programming-Language/dmd] 9c80b3: Issue 2547 - Array Ops should check length, at lea... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 9c80b3ce49a77f960674ff38df492ec7413376e1 https://github.com/D-Programming-Language/dmd/commit/9c80b3ce49a77f960674ff38df492ec7413376e1 Author: Daniel Murphy <yebblies@gmail.com> Date: 2012-04-13 (Fri, 13 Apr 2012) Changed paths: M src/arrayop.c M test/runnable/xtest46.d Log Message: ----------- 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 <array op name>"); arrayOp(tmpa, tmpb, tmpc, ...) ``` Commit: 34b0f7eba7ada6c39aafc8d19eee3887fa84bf3e https://github.com/D-Programming-Language/dmd/commit/34b0f7eba7ada6c39aafc8d19eee3887fa84bf3e Author: Hara Kenji <k.hara.pg+dev@gmail.com> Date: 2012-07-20 (Fri, 20 Jul 2012) Changed paths: M src/arrayop.c M test/runnable/xtest46.d Log Message: ----------- Merge pull request #693 from yebblies/issue2547 Issue 2547 - Array Ops should check length, at least when bounds checking is on Compare: https://github.com/D-Programming-Language/dmd/compare/162cf303c5e7...34b0f7eba7ad |
Copyright © 1999-2021 by the D Language Foundation