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


Martin Nowak <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #11 from Martin Nowak <[email protected]> 2014-04-06 22:28:26 PDT ---
(In reply to comment #10)
> I think this is much non-intuitive behavior. No one would expect the silent
> code breaking in module b.

I do agree with the diagnosis but we absolutely need a proper upgrade plan. I
know it's tricky, but we need a warning for code that relies on the implicit
alias without affecting code that just uses the imported symbol.
First of all you want to reach a consensus on the topic though. I haven't yet
seen any good argument in favor of the current behavior, still it's used quite
deliberately in many places.

> They are just funny ideas to mask fully qualified names.

Fully qualified names hardly do any harm, except for rare cases where a package
name collides with a rename. So maybe a syntax isn't necessary.
import core = core.win;

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

Reply via email to