mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 14:40:30 +03:00
Remove bug from staticIota in typecons
step is not used -> if passed anything other than 1 as step, staticIota will behave incorrectly.
This commit is contained in:
parent
4d3a2c49c8
commit
a63dc3e356
1 changed files with 1 additions and 1 deletions
|
@ -3406,7 +3406,7 @@ unittest
|
|||
static assert(is(DerivedFunctionType!(F17, F18) == void));
|
||||
}
|
||||
|
||||
private template staticIota(int beg, int end, int step = 1) if (step != 0)
|
||||
private template staticIota(int beg, int end)
|
||||
{
|
||||
static if (beg + 1 >= end)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue