[Issue 11330] Directory named as imported module should not stop module search

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 23 08:30:31 PDT 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2013-10-23 08:30:30 PDT ---
This is an invalid issue, as same as bug 11241 and bug 11243.

In your project, the module/package name 'b' should be resolved to the
first-found file system entry "./b/". The new package module feature looks for
"./b/package.d", then compiler correctly fails to search the file.

In other words: if a fully-qualified module name 'xx.yy.zz' would match to
multiple file/directories through the whole import paths, it is essentially not
good.

See also: http://d.puremagic.com/issues/show_bug.cgi?id=11241#c1

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