digitalmars.D.bugs - [Issue 12840] New: nogc std.range.iota(x, y, step)
- via Digitalmars-d-bugs (20/20) Jun 02 2014 https://issues.dlang.org/show_bug.cgi?id=12840
https://issues.dlang.org/show_bug.cgi?id=12840 Issue ID: 12840 Summary: nogc std.range.iota(x, y, step) Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: bearophile_hugs eml.cc 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' --
Jun 02 2014