Re: Compiler plugin for warning suppression

Jon Pretty <[email protected]>
Newsgroups gmane.comp.lang.scala
Message-ID <CAE45xci1rFzdxaLyt7+cNXqhX=YpyEp2GVzaV+5rcA31+UhQLg@mail.gmail.com>
On Wed, 15 Apr 2015 at 21:00 Naftoli Gugenheim <[email protected]> wrote:

> Maybe it could use a mechanism like that for language feature imports?
>
+1

This would have the benefit of being able to scope the warning suppression
to a package, file, class, method, or whatever, and would also make the
determination of whether a warning is an error (or not) part of the source
code.

This probably won't be possible with pre-typer warnings, though. I'm not
sure what proportion of warnings are pre-typer, but it's not many.

Cheers,
Jon

-- 
You received this message because you are subscribed to the Google Groups "scala-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.