Skip to content

Prevent Pattern Match Exhaustivity Warning for transparent #4863

Closed
@eaplatanios

Description

@eaplatanios

Hi, I believe that pattern match exhaustivity warnings should not be emitted for top-level pattern match statements in transparent methods, given that the pattern match is checked and expanded at compile-time anyway.

I noticed these warnings are emitted when matching over a sealed trait/class in a transparent method body.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions