mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:41:19 +00:00
e680eb4c4f
The only expected exceptions at this point are DiagnosticException and MacroException subtypes; everything else is a bug in the implementation. Tweak the diagnostic to explain that it's due to a bug in the macro. Add the exception message and stack trace as a context message, and a fix hint to contact the author. Add a language test. Retry landing with updates to `pkg/analyzer/test/summary/macro_test`. R=jensj@google.com, scheglov@google.com, sigmund@google.com Change-Id: Iebc3df784922dcb6ef112ba8d023d5388516373b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/352361 Reviewed-by: Jake Macdonald <jakemac@google.com> Auto-Submit: Morgan :) <davidmorgan@google.com> Commit-Queue: Morgan :) <davidmorgan@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Johnni Winther <johnniwinther@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.