Thread overview | |||||
---|---|---|---|---|---|
|
June 08, 2013 [Issue 10302] New: Package module conflicts with package name | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10302 Summary: Package module conflicts with package name Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-08 11:06:40 PDT --- 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 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 10, 2013 [Issue 10302] Package module conflicts with package name | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10302 --- Comment #1 from github-bugzilla@puremagic.com 2013-06-10 00:42:51 PDT --- 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 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 10, 2013 [Issue 10302] Package module conflicts with package name | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10302 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-10 02:23:54 PDT --- Merged pull request: https://github.com/D-Programming-Language/dmd/pull/2152 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation