[Issue 3505] [module] static imports should be binded to the leaf module, not the fully qualified name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 14 08:37:39 PST 2009


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


Bill Baxter <wbaxter at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wbaxter at gmail.com


--- Comment #1 from Bill Baxter <wbaxter at gmail.com> 2009-11-14 08:37:38 PST ---
Maybe something like this could be allowed to mean "import renamed to the
leaf":

    import (foo.bar.)MyModule;

Sometimes I do want the actually fully qualified name, like for a module like
std.string.  Having "string" mucks with the type "string".  Or maybe parens
around the part to keep:

    import foo.bar.(MyModule);

-- 
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