mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:58:32 +00:00
b9e005f4b9
Update the message_test to automatically create an example that wrappes all already defined examples in a part. For instance, if the example is main.dart: main() { print("hello world"); } create an additional example that is basically main_wrapped.dart: part 'main.dart'; main.dart: part of 'main_wrapped.dart'; main() { print("hello world"); } (as well as some additional comments to push any actual positions in the main file ot of scope for valid positions in the wrapper file. This doesn't work for everything, e.g. if the original main imports or exports anything, the new test will fail. That's okay, the status file has been updated accordingly. The reason for adding it is that we currently have some bugs that causes us to crash in situations like this, i.e. situations where a message is coming from a position in a part where the same position doesn't exist in the non-part file. The status file has been updated for that too, although not in sorted order. Change-Id: Ib67f85fca5e81e0b9e93cf2d79ab50c38cae4936 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106082 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Jens Johansen <jensj@google.com> |
||
---|---|---|
.. | ||
analysis_server | ||
analysis_server_client | ||
analysis_tool | ||
analyzer | ||
analyzer_cli | ||
analyzer_fe_comparison | ||
analyzer_plugin | ||
async_helper | ||
build_integration | ||
compiler | ||
dart2js_tools | ||
dart_internal | ||
dartfix | ||
dev_compiler | ||
diagnostic | ||
expect | ||
front_end | ||
js | ||
js_ast | ||
kernel | ||
meta | ||
modular_test | ||
nnbd_migration | ||
smith | ||
sourcemap_testing | ||
status_file | ||
telemetry | ||
test_runner | ||
testing | ||
vm | ||
.gitignore | ||
BUILD.gn | ||
pkg.status |