commit | 9803d5c7862edfceca00a4de88a50b24a19e7a16 | [log] [tgz] |
---|---|---|
author | Kevin Millikin <kmillikin@google.com> | Fri Aug 31 02:30:46 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Aug 31 02:30:46 2018 +0000 |
tree | 8c06f580b0999eca359e9bc86d2e080a6d7cdab3 | |
parent | 02b2deefd6009a8064ba70c1cd80e2d79dfaeed6 [diff] |
Signal an error when invoking a non-function When invoking an expression whose static type is not a function type, signal an error. However, allow invocations of expressions with static type `dynamic` or `Function`. Fixes #32975. Change-Id: Ia54d8df650076ad5c9c9c3a2c6f79ea31acbbbfe Reviewed-on: https://dart-review.googlesource.com/72082 Commit-Queue: Kevin Millikin <kmillikin@google.com> Reviewed-by: Daniel Hillerström <hillerstrom@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.