[Issue 17040] Examples should have an import of itself

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Dec 29 01:03:57 PST 2016


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

greenify <greeenify at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify at gmail.com
            Summary|std.algorithm.iteration.red |Examples should have an
                   |uce example does not        |import of itself
                   |compile                     |

--- Comment #1 from greenify <greeenify at gmail.com> ---
Hmm obviously you need to import the respective module. 

However, it could make sense to print this as well in the docs, s.t. one can
copy/paste easier (thus I am renaming  this enhancement request).

--


More information about the Digitalmars-d-bugs mailing list