dart-sdk/tests/language/super
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
..
abstract_method_test.dart
additional_interface_adds_optional_args_supercall_test.dart
all_named_constructor_test.dart
assign_runtime_test.dart
assign_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
bound_closure_test.dart Don't report INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_* when null safety. 2021-01-13 21:19:04 +00:00
call2_test.dart
call3_runtime_test.dart
call3_test.dart
call4_test.dart
call_test.dart
closure_test.dart
conditional_operator_runtime_test.dart
conditional_operator_test.dart analyzer: Improve span of use_of_nullable_value errors 2021-04-02 02:43:48 +00:00
field_2_test.dart
field_access_test.dart
field_test.dart
from_constructor_test.dart
implicit_closure_test.dart
in_async1_test.dart
in_async2_test.dart
in_async3_test.dart
in_async4_test.dart
in_async5_test.dart
in_async6_test.dart
in_constructor_test.dart
in_finally_test.dart
inferrer_test.dart
mixin_test.dart
no_such_method1_test.dart
no_such_method2_test.dart
no_such_method3_test.dart
no_such_method4_runtime_test.dart
no_such_method4_test.dart
no_such_method5_runtime_test.dart
no_such_method5_test.dart
non_const_test.dart
operator_index2_test.dart
operator_index3_test.dart
operator_index4_test.dart
operator_index5_test.dart
operator_index6_test.dart
operator_index7_test.dart
operator_index8_test.dart
operator_index_test.dart
operator_test.dart
setter_interceptor_test.dart
setter_test.dart
super_test.dart