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

          Issue ID: 12736
           Summary: @nogc std.algorithm.all
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nob...@puremagic.com
          Reporter: bearophile_h...@eml.cc

void main() @nogc {
    import std.ascii: isDigit;
    import std.algorithm: all;
    auto b = "12".all!isDigit;
}


DMD 2.066alpha gives:

temp.d(4,18): Error: @nogc function 'D main' cannot call non-@nogc function
'std.algorithm.all!(isDigit).all!string.all'

--

Reply via email to