Thread overview
[Issue 1870] New: Reproduce offending lines in error messages
Feb 26, 2008
d-bugmail
[Issue 1870] Reproduce offending lines in error messages for string mixins
Feb 26, 2008
d-bugmail
Jan 06, 2012
Trass3r
February 26, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1870

           Summary: Reproduce offending lines in error messages
           Product: D
           Version: 2.011
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: dhasenan@gmail.com


When complaining about something, some compilers reproduce the offending lines. Usually this is not such a big deal, since you have a line number. In D, though, mixins mean that you don't have a line number. In this case, DMD should output the offending lines, since mixins are otherwise difficult to debug (the usual workaround is to output the value with a pragma, pipe to a file, and compile that for the actual error message, but that has mixed success).


-- 

February 26, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1870


wbaxter@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Reproduce offending lines in|Reproduce offending lines in
                   |error messages              |error messages for string
                   |                            |mixins




------- Comment #1 from wbaxter@gmail.com  2008-02-26 12:00 -------
I think you're probably talking about string mixins here? Summary edited to say that.


-- 

January 06, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1870


Trass3r <mrmocool@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmocool@gmx.de


--- Comment #2 from Trass3r <mrmocool@gmx.de> 2012-01-06 06:00:01 PST ---
Yep we really need this.

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