Skip to content

Flesh Out Match Types #5417

Closed
Closed
@odersky

Description

@odersky

The docs on match types contains several aspects that are not implemented yet. In particular:

  • The "cannot possibly match rule". See Opaque types - selftype encoding #5300 (comment) for an interaction with opaque types.
  • Detection of overlapping patterns in general
  • Typing rules for match terms that allow a match term to have a match type without having to cast.

Metadata

Metadata

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