[Issue 11453] Compiling packages has a dependency on order of modules passed to the compiler.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 29 20:54:43 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=11453

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic, pull

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
In 2.066 git-head, order dependent issue is resolved.

C:\Users\khara\d/
$ dmd -c test11136.d bar11136.d
DMD v2.066 DEBUG
bar11136.d(1): Error: package name 'test11136' conflicts with usage as a module
name in file test11136.d

---> Error is expected

C:\Users\khara\d/
$ dmd -c bar11136.d test11136.d
DMD v2.066 DEBUG
Error: module test11136 from file test11136.d conflicts with package name
test11136

---> also Error is expected, but no filename/line number is not good.

Fix diagnostic issue:
https://github.com/D-Programming-Language/dmd/pull/3834

--


More information about the Digitalmars-d-bugs mailing list