mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 20:51:50 +00:00
60ee2c0dcd
Previously declaring for instance const lists (or even final lists) of generic function types ie `final x = <void Function()>[]` would throw errors during summarization. The type parameters don't seem correctly stored yet, but that is an edge case. Left a TODO, for now this should go in to prevent the analyzer crash. One thing I changed as well is that `serializeType` assumed it was getting a type name, and `serializeTypeName` accepted types but threw when it didn't get a type name. I flipped the names so that `serializeTypeName` accepts a type name and `serializeType` accepts a type in general and decides whether its a type name or a generic function type to proceed with specialization. Bug: 30858 Change-Id: Id128f8625cbf03bb94d05ff0efdbac3b158e637e Reviewed-on: https://dart-review.googlesource.com/20481 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> |
||
---|---|---|
build | ||
client | ||
docs | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
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.
Building Dart
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.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.