mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:00:09 +00:00
44094abe2f
Use the new Throw.forErrorHandling AST flag to ignore synthetic error handling statements in coverage. When the flag is found on a throw node, all the TokenPositions on the child nodes are set to kNoSource. Questions for reviewers: - Are there any VM use cases that need the real TokenPosition here? - Is there a better way of encoding this flag in the TokenPosition? - Should we add a new sentinel TokenPosition instead? Bug: https://github.com/dart-lang/sdk/issues/54005 Fixes: https://github.com/dart-lang/sdk/issues/53519 Fixes: https://github.com/dart-lang/sdk/issues/54941 Change-Id: Ic44fe2fa0359188b890d5ed762e3ff8c593c850d TEST=SourceReport_Regress53519_Destructuring Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353920 Reviewed-by: Ryan Macnak <rmacnak@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Liam Appelbe <liama@google.com> |
||
---|---|---|
.. | ||
co19 | ||
corelib | ||
dartdevc | ||
ffi | ||
language | ||
lib | ||
modular | ||
standalone | ||
web | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.