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

          Issue ID: 16983
           Summary: std.range.takeNone examples does not compile
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

auto range = takeNone!(int[])();
assert(range.length == 0);
assert(range.empty);

Does not compile with:
no property 'empty' for type 'int[]'


Tried with DMD v2.072.1

--

Reply via email to