www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2338] New: wrong error location for wrong import statement

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: benoit 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


-- 
Sep 06 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2338


Leandro Lucarella <llucax gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |llucax gmail.com
         Resolution|                            |DUPLICATE


--- Comment #1 from Leandro Lucarella <llucax gmail.com> 2009-11-13 16:45:32
PST ---
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 ***

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