[Issue 9612] std.range.Cycle.opSlice tests on the bounds are missing
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 11 03:17:40 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9612
--- Comment #6 from github-bugzilla at puremagic.com 2013-03-11 03:17:27 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/dd1a80c56fb848003fb8c3028bc4555ce8388e44
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
```
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list