March 11, 2013 [phobos] [D-Programming-Language/phobos] dd1a80: Fixup for cycle RangeError invocation | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: dd1a80c56fb848003fb8c3028bc4555ce8388e44 https://github.com/D-Programming-Language/phobos/commit/dd1a80c56fb848003fb8c3028bc4555ce8388e44 Author: unknown <monarchdodra@gmail.com> Date: 2013-03-10 (Sun, 10 Mar 2013) Changed paths: M std/range.d Log Message: ----------- Fixup for cycle RangeError invocation From: #1183 : Issue 9612: Cycle opSlice should throw when finish > start Because a RangeError is not actually customizable, and the first argument is actually the file name. The error was producing: ``` core.exception.RangeError@2 > 1(3836): Range violation ``` Now it produces: ``` core.exception.RangeError@std\range.d(3835): Range violation ``` Commit: 0a8aecf8f7565dabfb65e3dc85603b249e667608 https://github.com/D-Programming-Language/phobos/commit/0a8aecf8f7565dabfb65e3dc85603b249e667608 Author: Jonathan M Davis <jmdavisProg@gmx.com> Date: 2013-03-11 (Mon, 11 Mar 2013) Changed paths: M std/range.d Log Message: ----------- Merge pull request #1196 from monarchdodra/cycleFixup Fixup for cycle RangeError invocation Compare: https://github.com/D-Programming-Language/phobos/compare/28fad77612f8...0a8aecf8f756 |
Copyright © 1999-2021 by the D Language Foundation