[phobos] [D-Programming-Language/phobos] dd1a80: Fixup for cycle RangeError invocation

GitHub noreply at github.com
Mon Mar 11 03:17:23 PDT 2013


  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 at 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 at 2 > 1(3836): Range violation
```

Now it produces:
```
core.exception.RangeError at std\range.d(3835): Range violation
```


  Commit: 0a8aecf8f7565dabfb65e3dc85603b249e667608
      https://github.com/D-Programming-Language/phobos/commit/0a8aecf8f7565dabfb65e3dc85603b249e667608
  Author: Jonathan M Davis <jmdavisProg at 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


More information about the phobos mailing list