Closed
Description
Compiler version
3.3.1
Scala 2's -WConf
filters include src
filter which allows configuring warnings for a given source path pattern. It is missing in Scala 3. It is handy for ignoring warnings for generated sources where you have no option of placing @nowarn
annotations. Right now I'm facing a problem were I can't enable -Werror
because of warnings reported in generated sources (in my case generated by ScalaPB protobuf compiler).
It would be great to bring all Scala2 WConf
filters to Scala 3 but this issue is just about src
. I am willing to contribute a pull request for this.