3303df8102e7029c604aaffdc42e993b9f90ea2a
Adds a 'severity' field to diagnostic messages and replaces all addWarning and addNit functions by a generic addProblem, which uses the intrinsic severity of the message. Eventually, errors should also be reported this way. A special severity value maps into either warning or error for Dart 1 and Dart 2, respectively. Most Dart 1 warnings are in this category. Fixes some 320 failures of DDK test expecting a compile-time error. These were previously masked by a workaround in the DDC error handler which has now been removed. Closes https://github.com/dart-lang/sdk/issues/31286 Change-Id: I6acea31b8cba7dec8b318e081d28f4eb4ebbf75c Reviewed-on: https://dart-review.googlesource.com/29160 Commit-Queue: Aske Simon Christensen <askesc@google.com> Reviewed-by: Peter von der Ahé <ahe@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%