Bug 12840 – @nogc std.range.iota(x, y, step)

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2014-06-02T11:59:36Z
Last change time
2020-03-21T03:56:32Z
Assigned to
No Owner
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2014-06-02T11:59:36Z
void main() @nogc { import std.range: iota; iota(1, 10, 2); } test.d(3,9): Error: @nogc function 'D main' cannot call non-@nogc function 'std.range.iota!(int, int, int).iota'
Comment #1 by b2.temp — 2015-11-21T14:02:24Z
2.069 ok now