mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
![]() This allows local variables and other expressions, as long as the static type is a generic function type, to be explicitly type instantiated. * Expressions with a non-generic function type cannot be type instantiated. * Expressions with a type of `Function` cannot be type instantiated. * Expressions with other non-function types cannot be type instantiated. This results in doubling-up of errors in a few situations. I think these are generally rare occurrences, and tricky to prevent double reporting, so I've left them for now. Bug: https://github.com/dart-lang/sdk/issues/46020, Change-Id: Iad212fd95773f39f3202480b3fa71f6a28c7698f https://github.com/dart-lang/language/issues/1812 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211941 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
README.md |
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.