0b57b67ecb
To properly recognize control-flow constructs in sets, the constant evaluator needs to get un-desugared set literals. This commit skips the desugaring of const set literals if the constant evaluator is enabled and adds a similar desugaring in the constant evaluator. Doing the desugaring in the constant evaluator (which can be called independently of Fasta) necessitates that dart:collection is indexed in CoreTypes. We can remove this indexing again when the VM gains native support for set constants. Change-Id: Ibddafdcb182e4471012801745b51b529805b7b9f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98008 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
This package hosts VM specific Dart code and helper scripts.