commit | b62b438e8aaaf97ea0dae34a059afcdb7ccd831e | [log] [tgz] |
---|---|---|
author | Kevin Millikin <kmillikin@google.com> | Thu May 31 12:43:22 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Thu May 31 12:43:22 2018 +0000 |
tree | da4e27e024cb6b195dbc8af80d821da4bfb398d4 | |
parent | b3bae4262d59f459677ba19009c5a0e9e6a46b39 [diff] |
Infer Object members for dynamic receivers For method, getter, and setter invocations with names of methods on Object on expressions with static type `dynamic`, if the invocation cannot possibly be an invocation of noSuchMethod, infer the type of the invocation using the type of the member of Object. This implements the feature spec https://github.com/dart-lang/sdk/commit/472ec7780f1bb38f049d0fcc903a69bfb8ef9133 Fixes https://github.com/dart-lang/sdk/issues/32414 Change-Id: I135156346fe1468561d56a01cf3c5f0efde30739 Reviewed-on: https://dart-review.googlesource.com/56942 Commit-Queue: Kevin Millikin <kmillikin@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@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.