Bug 14116 – Assertion failure: 'p->isPkgMod == PKGmodule' on line 143 in file 'import.c'

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-02T19:55:00Z
Last change time
2015-02-03T05:16:25Z
Keywords
ice, pull
Assigned to
nobody
Creator
rswhite4

Comments

Comment #0 by rswhite4 — 2015-02-02T19:55:37Z
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 ----
Comment #1 by k.hara.pg — 2015-02-03T03:37:37Z
Comment #2 by github-bugzilla — 2015-02-03T05:16:24Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/260dba58ca264f26967f0d6ecc6f6b8bdde39611 fix Issue 14116 - Assertion failure: 'p->isPkgMod == PKGmodule' on line 143 in file 'import.c' https://github.com/D-Programming-Language/dmd/commit/8bf9a94d467450ffa245f6a9b32dc85a80ce3e4c Merge pull request #4372 from 9rnsr/fix14116 Issue 14116 - Assertion failure: 'p->isPkgMod == PKGmodule' on line 143 in file 'import.c'