Restore state safely in migration visitors. When the migration tool is run in permissive mode, its visitors try to catch exceptions and continue running. This means that when the visitors make temporary state changes before recursive calls, they have to restore the state inside `finally` blocks. This should hopefully result in slightly saner behavior when running the migration tool in permissive mode. Change-Id: I46e07684526314befad860c4e065ec2c7f6d8b11 Reviewed-on: https://dart-review.googlesource.com/c/93127 Auto-Submit: Paul Berry <paulberry@google.com> Reviewed-by: Dan Rubel <danrubel@google.com>
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.