commit | eec96f9076c552112ccb0b8ff3f8aa36523e9377 | [log] [tgz] |
---|---|---|
author | Vyacheslav Egorov <vegorov@google.com> | Fri Sep 14 17:19:29 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Sep 14 17:19:29 2018 +0000 |
tree | 555d405bcf191583c85195d6dd630610c2d33e2d | |
parent | bf4facdd66c9ace46123fd3f45d6e0c8d1d2ce72 [diff] |
[vm/kernel] Preserve strong mode types in async transformation Async transformation uses dynamic variables in few places (e.g. for temporaries and for incomming arguments) - which creates not strongly typed AST with method invocations having dynamic receivers and non-null interface targets at the same time. To maintain strong typedness of the AST we insert unsafeCast when accessing the temporaries. Bug: https://github.com/dart-lang/sdk/issues/34463 Change-Id: I11e38c128645ebc8acb0c982a80fe4c5c4036673 Reviewed-on: https://dart-review.googlesource.com/75000 Commit-Queue: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Martin Kustermann <kustermann@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.