https://issues.dlang.org/show_bug.cgi?id=22050

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #2 from Walter Bright <[email protected]> ---
The program:

  import std.algorithm, std.range, std.conv;

  void foo() {
    assert(2 == iota(2).map!(n => to!string(n)).length);
  }

  extern (C) void main() { foo(); }


now compiles and runs successfully with -betterC on master.

--

Reply via email to