mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 15:57:17 +00:00
d8732e9820
Previously, if field promotion failed both because the language version was less than 3.2, *and* for some other reason(s), the analyzer and CFE only reported the other reason(s). The rationale was that this was better than reporting just that the language version was less than 3.2, because if a user upgraded their language version to 3.2 in an attempt to get field promotion to work, and *then* found out that the property in question was unpromotable for some other reason, that could be quite frustrating. With this change, if field promotion fails both because the language version is less than 3.2 and for some other reason, the analyzer and CFE report *all* the reasons. Change-Id: Ib5d3a4621273c1e80d66b66b456119f9053e18b1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332485 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
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.