[Issue 17040] Examples should have an import of itself
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Jul 12 09:48:54 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=17040
Seb <greensunny12 at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |greensunny12 at gmail.com
         Resolution|---                         |FIXED
--- Comment #2 from Seb <greensunny12 at gmail.com> ---
Since a couple of weeks we have a export button on the right which takes you to
run.dlang.io (and interactive playground). On export the current module +
std.stdio are imported and the code is wrapped into a void main() { ...}, s.t.
it's runnable everywhere.
I am hence closing this as FIXED, please reopen if you disagree and still think
that the examples should have the respective imported modules directly listed
on dlang.org, please reopen.
--
    
    
More information about the Digitalmars-d-bugs
mailing list