Thread overview
[Issue 386] New: anonying "import conflicts" for years!!! Please fix it ASAP!!!
Sep 28, 2006
d-bugmail
Sep 28, 2006
d-bugmail
Oct 10, 2006
d-bugmail
September 28, 2006
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


-- 

September 28, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=386





------- Comment #1 from someanon@yahoo.com  2006-09-28 18:08 -------
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:

http://www.dsource.org/forums/viewtopic.php?p=2830#2830


-- 

October 10, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=386


bugzilla@digitalmars.com changed:

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




------- Comment #2 from bugzilla@digitalmars.com  2006-10-10 03:28 -------
Fixed DMD 0.169


--