commit | 015840d31f8235ac0a3bd5c46e5ca16fe3314c06 | [log] [tgz] |
---|---|---|
author | Jens Johansen <jensj@google.com> | Tue Sep 04 10:10:32 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Tue Sep 04 10:10:32 2018 +0000 |
tree | d5473729915a97743008233456c725959dfa86e5 | |
parent | 56957ff17161f426684bb32c281b2c23d1df0398 [diff] |
Fasta: Wrong number of type parameters is an error E.g. `new Map<String>` is now reported as an error. Note that this does not add a check for whether correct types are given, so e.g. ``` class Foo<X extends num> {} main() { new Foo<String>(); } ``` is not caught by this fix. Fixes #32972, #32281. Change-Id: I57513b5c13865a828890775c8e14f7433d00bdbe Reviewed-on: https://dart-review.googlesource.com/72382 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Peter von der Ahé <ahe@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.