digitalmars.D.bugs - [Issue 16983] New: std.range.takeNone examples does not compile
- via Digitalmars-d-bugs (20/20) Dec 18 2016 https://issues.dlang.org/show_bug.cgi?id=16983
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: nobody puremagic.com Reporter: chalucha gmail.com 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 --
Dec 18 2016