www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:

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

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.

Feb 26 2008