Open catalin-hritcu opened 10 years ago
Cool idea! I'll give it a little thought. Maybe I will add some simple atoms like file <regex>
as you suggest and one for line number, but I want to ponder for a little bit. Although we print just the file and line number causing the message, actually we have some richer information: we know a full "backtrace" of which files included which others to lead us to where we are. Perhaps I can think of a sane interface to expose this information to the configuration language (and some way to optionally expose this information in the report, too).
If I can't think of anything stunningly good pretty soon, I'll just use your suggestion verbatim.
Implementation effort on this has begun.
By the way: I'm still working on this, but you may want to know that the dialect messages are marked as info
now, rather than unknown
.
Is there any way to match on the file name where the error is reported? I have "unknown" text that is not very informative, and I would feel safer if I could for instance write
instead of
to make the following message go away: