dart-sdk/pkg/front_end
Johnni Winther 33fcaec0f1 [cfe] Handle exhaustiveness checking in expression evaluation
The expression evaluator called directly into the constant evaluator,
skipping the setting up of the exhaustiveness cache used for
exhaustiveness checking.

Closes #52905

Change-Id: I367ff73d8e23127811f99dfbf451e66eef452443
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/314060
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-07-18 10:17:49 +00:00
..
benchmarks
lib [cfe] Handle exhaustiveness checking in expression evaluation 2023-07-18 10:17:49 +00:00
outline_extraction_testcases [flip-modifiers] Make tests and outline extraction tests mixins. 2023-03-08 16:11:30 +00:00
parser_testcases [parser] Use endInvalidYieldStatement for async methods 2023-06-14 12:10:59 +00:00
test Major refactor to simplify the macro introspection interfaces. 2023-07-17 17:28:35 +00:00
testcases [cfe] Handle exhaustiveness checking in expression evaluation 2023-07-18 10:17:49 +00:00
tool Make utf8.encode() have Uint8List return type 2023-07-11 08:54:33 +00:00
analysis_options.yaml Replace deprecated lint rules in front-end packages 2023-05-23 14:01:49 +00:00
analysis_options_no_lints.yaml
error_recovery.yaml
LICENSE
messages.status [vm] Async FFI callbacks 2023-06-28 01:00:18 +00:00
messages.yaml [vm] Async FFI callbacks 2023-06-28 01:00:18 +00:00
OWNERS
PRESUBMIT.py
pubspec.yaml Upgrade pkg/front_end to language version 3.0 2023-05-25 06:11:11 +00:00
README.md
testing.json
testing_with_lints.json

Front end for Dart

This package provides a low-level API for use by compiler back ends that wish to implement the Dart language. It is intended for eventual use by dev_compiler, dart2js, and the Dart VM. In addition, it will share implementation details with the analyzer package--this will be accomplished by having the analyzer package import (and re-export) parts of this package's private implementation.

End-users should use the dart analyze command-line tool to analyze their Dart code.

Integrators that want to write tools that analyze Dart code should use the analyzer package.

Note: A previous version of this package was published on pub.dev. It has now been marked DISCONTINUED as it is not intended for direct consumption, as per the notes above.