[Issue 1297] [module] Static modules, aka enforcing static import.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue May 15 13:33:45 UTC 2018
    
    
  
https://issues.dlang.org/show_bug.cgi?id=1297
Dmitry Olshansky <dmitry.olsh at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dmitry.olsh at gmail.com
         Resolution|---                         |WONTFIX
--- Comment #3 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---
A whole language feature to save on one-liner:
static import Db = foo.bar.Db;
> and call all functions via 'Db.func()
Which is partly subjective style anyway.
--
    
    
More information about the Digitalmars-d-bugs
mailing list