[Issue 2338] New: wrong error location for wrong import statement

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 6 08:40:06 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2338

           Summary: wrong error location for wrong import statement
           Product: D
           Version: 1.035
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: benoit at tionex.de


==== 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


-- 



More information about the Digitalmars-d-bugs mailing list