digitalmars.D.bugs - [Issue 10844] New: Importing package as module fails with nested packages
- d-bugmail puremagic.com (30/30) Aug 18 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10844
- d-bugmail puremagic.com (11/11) Aug 18 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10844
- d-bugmail puremagic.com (7/9) Aug 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10844
- d-bugmail puremagic.com (13/18) Aug 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10844
http://d.puremagic.com/issues/show_bug.cgi?id=10844 Summary: Importing package as module fails with nested packages Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: szadows gmail.com This code fails: p1/p2/p3/m1.d: module p1.p2.p3.m1; p1/p2/p3/package.d module p1.p2.p3; public import p1.p2.p3.m1; main.d: import p1.p2.p3; void main() {} Compile command: dmd main.d p1\p2\p3\m1.d Error message: main.d(1): Error: can only import from a module, not from package p1.p3 main.d(1): Error: module p3 is in file 'p1\p2\p3.d' which cannot be read -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 18 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10844 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 17:35:13 PDT --- Which OS + compiler version (and commit if git-head) are you using? I can't recreate this with a5c9b9ae4c25aea71153f162ed7026f561061e28 on win32. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 18 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10844Which OS + compiler version (and commit if git-head) are you using? I can't recreate this with a5c9b9ae4c25aea71153f162ed7026f561061e28 on win32.I'm using DMD 2.063.2 on win32. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10844 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID 02:51:49 PDT ---Package modules were introduced in git-head, not in 2.063. You'll either have to use git-head or wait for the 2.064 release. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------Which OS + compiler version (and commit if git-head) are you using? I can't recreate this with a5c9b9ae4c25aea71153f162ed7026f561061e28 on win32.I'm using DMD 2.063.2 on win32.
Aug 19 2013