[Issue 1297] [module] Static modules, aka enforcing static import.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 6 17:07:37 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=1297


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-06 17:07:34 PST ---
Since D is supposed to prevent symbol hijacking I don't see much benefit for
this. If the user has conflicts he will use one of several techniques such as
using static imports, using aliases, using renamed imports and/or selective
imports. 

I don't see why you would force a module to be imported one way or another. It
seems like a sure way to make importing modules annoying for the user.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list