digitalmars.D.bugs - [Issue 4917] New: Symbol conflict error message refers to aliased symbol instead of the alias
- d-bugmail puremagic.com (30/30) Sep 22 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4917
- d-bugmail puremagic.com (9/9) Jan 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4917
- d-bugmail puremagic.com (10/10) Jan 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4917
- d-bugmail puremagic.com (13/13) Apr 03 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4917
http://d.puremagic.com/issues/show_bug.cgi?id=4917 Summary: Symbol conflict error message refers to aliased symbol instead of the alias Product: D Version: D1 Platform: Other OS/Version: Linux Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: nfxjfg gmail.com $ cat aaa.d int x; alias x y; int y; $ dmd aaa.d aaa.d(1): Error: variable aaa.x conflicts with variable aaa.y at aaa.d(3) It should say: aaa.d(2): Error: variable aaa.y conflicts with variable aaa.y at aaa.d(3) dmd resolves the alias to the original symbol when producing the error message, although the alias caused the error (and not the original symbol). Additionally none of the line numbers point to the line causing the error. Think how confusing this could be in larger codebases. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 22 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4917 nfxjfg gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4917 Brad Roberts <braddr puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |braddr puremagic.com Resolution|INVALID | -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4917 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED 22:51:14 PDT --- https://github.com/D-Programming-Language/dmd/commit/d6323066219ef10bfb3e2c10d915e2dd0dace42b https://github.com/D-Programming-Language/dmd/commit/0e3c9481cd74987cb53f6aa7bfe48012547abbbd -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 03 2011