Bug 2338 – wrong error location for wrong import statement

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-09-06T10:40:00Z
Last change time
2014-03-01T00:37:00Z
Keywords
diagnostic
Assigned to
nobody
Creator
benoit

Comments

Comment #0 by benoit — 2008-09-06T10:40:04Z
==== test.d ====== module test2; import test2; import test2.A; // (2) this wrong import can in another file ==== test2.d ====== module test2; ========== If one of the compiled files has a wrong import like (2) it happens DMD is pointing to a correct import or a simply wrong location: test2.d(3): module test2 module and package have the same name
Comment #1 by leandro.lucarella — 2009-11-13T16:45:32Z
It looks like you forgot you already hit the same bug 2 years ago ;) *** This issue has been marked as a duplicate of issue 176 ***