dart-sdk/tests
Sam Rawlins 5e040a20f8 analyzer: Improve span of use_of_nullable_value errors
This changes the span reported from the _receiver_ to
the _use_ (method name, property name, operator token).

I think this change is overall an improvement.
Specifically, its a great improvement for cmdline
output, where the receiver and the "use" are on
different lines.

One possibly weird change is that if the operator is `[]`,
then I only highlight the `[` character. I don't know if
there is a better place, and I think this is fine.

Fixes https://github.com/dart-lang/sdk/issues/43708

Change-Id: Ie66ddf04b4904a367575193106385dd63ee39985
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/188680
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-04-02 02:43:48 +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 analyzer: Improve span of use_of_nullable_value errors 2021-04-02 02:43:48 +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
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.