[Issue 16983] std.range.takeNone examples does not compile

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Dec 18 21:17:15 PST 2016


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

b2.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from b2.temp at gmx.com ---
You must import the module where the example stands and it works. This is true
for any example in phobos, so here just add import `import std.range;`

--


More information about the Digitalmars-d-bugs mailing list