[Issue 11845] selective (and renamed) imports clash with local symbols

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 3 00:01:25 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11845


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

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


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-01-03 00:01:22 PST ---
(In reply to comment #2)
> In particular, in my original report, I did a *renamed* import: From my
> module's point of view, there is only "foo". Why is "splitter" conflicting with
> "foo"?

I think you imported that wrong, it should be:

import std.algorithm : foo = splitter;

and not:

import foo = std.algorithm : splitter;

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


More information about the Digitalmars-d-bugs mailing list