dart-lang / dart-lang/language

Pattern matching non-exhaustive error on sealed class and multiple type parameters

Open
#3,633 5 comments 3 reactions 0 assignees View on GitHub
exhaustiveness request
Dominant language
TeX
Stars
2.9k
Forks
239
Avg merge
2d 18h
Merged PRs (30d)
14

Description

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the sealed-class example with Dart 3.2.6 and confirm the non-exhaustive switch diagnostic. Then trace the pattern-matching exhaustiveness analysis for generic sealed classes; done means determining whether ChildB should satisfy the match and documenting or correcting the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.