D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 12840 - @nogc std.range.iota(x, y, step)
Summary: @nogc std.range.iota(x, y, step)
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Windows
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-02 11:59 UTC by bearophile_hugs
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2014-06-02 11:59:36 UTC
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 basile-z 2015-11-21 14:02:24 UTC
2.069 ok now