commit | 039e8a1755080c2cbf9ae96fca0063561e3ed72a | [log] [tgz] |
---|---|---|
author | Martin Kustermann <kustermann@google.com> | Wed May 09 09:00:02 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed May 09 09:00:02 2018 +0000 |
tree | 3a3613629f7135c572c9c42c5cf7ab0fc739a931 | |
parent | 2f781e46b01e22541cd74ab82e57e72bdea3793e [diff] |
[vm/kernel] Enable kernel2kernel "constants" transformation in AOT mode (after running TFA) This CL also uses the newer `onProblem` error reporting mechanism, which supports contexts. The errors by the constant evaluator are formatted e.g. like this: .../language_2/compile_time_constant_o_test_01.dart:14:8: Error: Duplicate keys are not allowed in constant maps (found duplicate key "StringConstant(foo)"). "foo": 499 ^ .../language_2/compile_time_constant_o_test_01.dart:32:24: Context: While analyzing: Expect.identical(m1, m3); Change-Id: I463416e14686e218b0f08903bd6aa0bca7392260 Reviewed-on: https://dart-review.googlesource.com/53021 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com> Reviewed-by: Alexander Markov <alexmarkov@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.