← Back to index
|
Original Bugzilla link
Bug 10302 – Package module conflicts with package name
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-08T11:06:00Z
Last change time
2013-06-10T02:23:54Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2013-06-08T11:06:40Z
Files --- // test.d module test; import lib; void main() {} // lib/liba.d module lib.liba; void foo() {} // lib/libb.d module lib.libb; import lib.liba; void bar() { return foo(); } // lib/package.d module lib; public import lib.liba; Command Line (1) --- dmd -o- test.d (OK) Command Line (2) --- dmd -o- test lib\liba.d lib\libb.d test.d(2): Error: can only import from a module, not from package lib Error: module lib from file lib\package.d conflicts with package name lib
Comment #1
by github-bugzilla — 2013-06-10T00:42:51Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/03236adb63a1d0d9ed0d9ec2cc6a7ff0792d371b
fix Issue 10302 - Package module conflicts with package name
https://github.com/D-Programming-Language/dmd/commit/54890d0316628fb0dc56dea8a55d942b3ee218bb
Merge pull request #2152 from 9rnsr/fix10302 Issue 10302 - Package module conflicts with package name
Comment #2
by k.hara.pg — 2013-06-10T02:23:54Z
Merged pull request:
https://github.com/D-Programming-Language/dmd/pull/2152