mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
f008738abd
Dart type inference does not propagate type sideways in the argument lists[1], so we have to explicitly provide fold with a type argument, otherwise it is inferred as `Object?`, which does not work in this case. [1] https://github.com/dart-lang/language/issues/731 Change-Id: I2ee0bda2cd6c37c64018efd48ea14c469f76ba3a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152003 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Vyacheslav Egorov <vegorov@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
llvm_codegen | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
PRESUBMIT.py | ||
runtime_args.gni |