mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
dcaebaa793
This adds the flag `isEnumElement` to the `Field` node and uses it to recognize enum elements for the exhaustiveness computation on switch statements. Closes #49697 TEST=pkg/front_end/testcases/general/issue49697/main.dart Change-Id: I21852f3b063329e043639c825054f538c8ed6536 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/255808 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
test | ||
testcases/transformations | ||
tool | ||
analysis_options.yaml | ||
LICENSE | ||
OWNERS | ||
pubspec.yaml | ||
README.md |
This package hosts VM specific Dart code and helper scripts.