Skip to content

Decide when we should do exhaustivity checks #1351

Closed
@DarkDimius

Description

@DarkDimius

scalac only checks sealed classes. We should consider if we indeed want to change this.
https://github.com/lampepfl/dotty/pull/1261/files#diff-3fbc86b62f6455f297c02b6711bc66b1R470

In case we indeed decide to change it, I propose to maintain scalac compatible behavior in -language:Scala2 mode.

Metadata

Metadata

Assignees

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