[Issue 11513] New: [REG 2.064] Assertion in module.c

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 13 15:16:16 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11513

           Summary: [REG 2.064] Assertion in module.c
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dragoscarp at gmail.com


--- Comment #0 from Dragos Carp <dragoscarp at gmail.com> 2013-11-13 15:16:15 PST ---
a.d
----
module a;

import b;

-------------------------
b.d
----
module a.b;

-------------------------

dmd 2.063 produces error
dmd -c a.d
a.d(3): Error: module a.b package name 'a' in file b.d conflicts with usage as
a module name in file a.d


dmd 2.064 after implementation of DIP37 asserts
dmd -c a.d
dmd: module.c:595: void Module::parse(): Assertion `pkg' failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list