10b441b16b048d573b7a8444d08099db25db413e
This improves recovery when parsing conditional import expressions by repositioning the synthetic closing ')' that was inserted by the scanner in a less than optimal location. This approach relies on the beforeSynthetic field being set correctly. While the scanner still sets the 'next' and 'beforeSynthetic' fields directly for efficiency, most other functions which update an existing token stream have been revised to call 'setNext()' rather than setting the 'next' field directly. This ensures that the 'beforeSynthetic' field will be correctly updated. Change-Id: Id631fd600c64d1feaf00593acb74a7070e354f07 Reviewed-on: https://dart-review.googlesource.com/52120 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Dan Rubel <danrubel@google.com>
…
…
…
…
…
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
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.
Building Dart
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.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.
License & patents
Description
Languages
Dart
84.6%
C++
13%
Python
0.7%
JavaScript
0.5%
HTML
0.4%
Other
0.5%