Skip to content

Wconf: support src filter from Scala 2 #17634

Closed
@kubukoz

Description

@kubukoz

In #12857, the -Wconf options were added. However, the src filter, which some people are using to ignore warnings from generated code, has seemingly been left out.

I'm getting this error when trying to use it:

[error] [core3] Failed to parse `-Wconf` configuration: src=src_managed/.*:silent
[error] [core3] unknown filter: src

In my eyes it's more of a bug report than a feature request (since the feature exists in the 2.x versions of the language, and its lack of existence is a potential migration blocker), but I'm reporting here as a first step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions