www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 386] New: anonying "import conflicts" for years!!! Please fix it ASAP!!!

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=386

           Summary: anonying "import conflicts" for years!!! Please fix it
                    ASAP!!!
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: someanon yahoo.com


Please do a search "import conflicts" on www.digitalmars.com:

People have been complaining this for years:

http://www.digitalmars.com/d/archives/digitalmars/D/25213.html
http://www.digitalmars.com/d/archives/digitalmars/D/learn/2368.html
http://www.digitalmars.com/d/archives/digitalmars/D/15503.html

I wonder why this is still not fixed:

1) *private* imports should never conflict with each other!!!!!!

2) if you cannot fix 1), at least give better error message: as suggested in

http://www.digitalmars.com/d/archives/digitalmars/D/15503.html

Is it possible for DMD to give at least a little nicer error message,
like...

core/rotozoom.d(26): import core.rotozoom.std conflicts with
core.texture.std at core/texture.d(48), try importing std.math to
core/frame.d


-- 
Sep 28 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=386






http://www.digitalmars.com/d/archives/digitalmars/D/25213.html

*sigh*

Is it possible for DMD to give at least a little nicer error message,
like...

core/rotozoom.d(26): import core.rotozoom.std conflicts with
core.texture.std at core/texture.d(48), try importing std.math to
core/frame.d

or

core/rotozoom.d(26): import core.rotozoom.std conflicts with
core.texture.std at core/texture.d(48), however due to the nature of
this error message, the problem lies in neither of the given files, good
luck finding it! Especially if you are not the sole developer, and have
no clue which file it could possible be.


just frusterating... had to rant, sorry.
- clayasaurus

and more:




-- 
Sep 28 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=386


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 0.169


-- 
Oct 10 2006