dart-sdk/tests
Paul Berry 1cffb93ad7 Improve error message for non-promotion due to assignment.
This is clearer because:

- The use of "could not be promoted" is consistent with the other "why
  not promoted" messages.

- We avoid speculating about whether the variable might be assigned a
  null value; this should help avoid confusion in cases where the user
  can see that assigning a null value is impossible, but promotion
  still fails.

- We avoid the phrase "intervening write", which is a little too
  erudite.

Bug: https://github.com/dart-lang/sdk/issues/44898
Change-Id: I0b8a2132dc99dd06769677f98e6257e9b55ad9d6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193820
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2021-04-03 13:43:36 +00:00
..
co19 [co19] remove skips is a status files motivated by language issue 115 2021-03-30 16:37:41 +00:00
co19_2 [co19] Obsolete entries removed from co19_2-kernel.status file according to co19 issue #1041 2021-03-31 04:14:42 +00:00
corelib Add efficient entries and keys.contains to SplayTreeMap. 2021-03-22 13:20:13 +00:00
corelib_2 Add efficient entries and keys.contains to SplayTreeMap. 2021-03-22 13:20:13 +00:00
dartdevc First version of incremental DDC mode for expression compilation 2021-03-09 17:23:05 +00:00
dartdevc_2 [cfe] Allow experiments only in current sdk version 2021-03-31 15:20:08 +00:00
ffi [analyzer/ffi] Inline array annotation const dimensions 2021-03-30 00:28:57 +00:00
ffi_2 [analyzer/ffi] Inline array annotation const dimensions 2021-03-30 00:28:57 +00:00
language Improve error message for non-promotion due to assignment. 2021-04-03 13:43:36 +00:00
language_2 [vm/compiler] Fix materialization of Float32List 2021-04-02 01:36:28 +00:00
lib [pkg:js] Filter promise_reject_null_test from CSP 2021-03-25 22:00:19 +00:00
lib_2 [pkg:js] Filter promise_reject_null_test from CSP 2021-03-25 22:00:19 +00:00
modular [dart2js] Handle super access in mixin declarations 2021-01-07 13:45:18 +00:00
standalone [io/lookup] Ensure public type InternetAddress is used in lookup methods. 2021-03-31 19:43:42 +00:00
standalone_2 [io/lookup] Ensure public type InternetAddress is used in lookup methods. 2021-03-31 19:43:42 +00:00
web [dart2js] Remove unused 'classesOnlyNeededForRti' field. 2021-03-31 17:30:29 +00:00
web_2 [dart2js] Fix variable allocator live-range bug 2021-03-23 15:38:36 +00:00
legacy_status_dart2js.csv [dart2js] Remove obsolete unittests. 2020-05-12 17:16:39 +00:00
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.