[Issue 8667] selective import breaks normal overload resolution

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 9 18:11:35 PST 2013


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



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-01-09 18:11:34 PST ---
1. If the current behavior is correct,

     import mod : name;

   is just equal to

     import mod : name = name;

2. If this bug report is correct (== current behavior is incorrect),

     import mod : name;

   just makes `name` visible in symbol look up. And,

     import mod : name = name;

   merges overload set in the importing module.
   Then the two are different.

I think #2 is more flexible and controllable design.

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