Skip to content

-Wconf src filter not implemented #18782

Closed
@povder

Description

@povder

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.

Metadata

Metadata

Assignees

Labels

area:reportingError reporting including formatting, implicit suggestions, etcitype:enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions