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



--- Comment #6 from Kenji Hara <k.hara...@gmail.com> 2013-10-23 10:20:26 PDT ---
(In reply to comment #5)
> However, if you think about it more, shouldn't the compiler also complain if 
> it
> finds more than one match in its search path? Because that is also a hijacking
> opportunity - remove the first match, and suddenly the compiler "silently" is
> using some other version of the module. But would making the compiler complain
> about ambiguous search path matches break too many environments?

Essentially yes. But it would introduce extra cost to search filesystem. If
import path list is huge - I think it's a possible case if you manage thousands
of third party projects by using package system - I cannot say the extra cost
is enough small. I'm not sure it is a compiler's work.

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

Reply via email to