[Issue 14116] New: Assertion failure: 'p->isPkgMod == PKGmodule' on line 143 in file 'import.c'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Feb 2 11:55:37 PST 2015


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

          Issue ID: 14116
           Summary: Assertion failure: 'p->isPkgMod == PKGmodule' on line
                    143 in file 'import.c'
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: rswhite4 at gmail.com

test/test.d

----
module test.test;

void foo() {

}
----

test/foo.d

----
module test.foo;

import test;

void main() {

}
----

Compiled with dmd test.d foo.d -vgc -wi on Windows 8.1 64 Bit
results in

----
foo.d(3): Error: module test.test from file test.d must be imported with
'import
 test.test;'
Assertion failure: 'p->isPkgMod == PKGmodule' on line 143 in file 'import.c'

abnormal program termination
----

--


More information about the Digitalmars-d-bugs mailing list