www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1870] New: Reproduce offending lines in error messages

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


-- 
Feb 26 2008
next sibling parent d-bugmail puremagic.com writes:
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





I think you're probably talking about string mixins here?
Summary edited to say that.


-- 
Feb 26 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1870


Trass3r <mrmocool gmx.de> changed:

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



Yep we really need this.

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