[Issue 1870] New: Reproduce offending lines in error messages
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 26 07:27:47 PST 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 at digitalmars.com
ReportedBy: dhasenan at 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).
--
More information about the Digitalmars-d-bugs
mailing list