dart-sdk/tests/language/getter
Paul Berry 189aeead47 Fix reporting of INSTANCE_ACCESS_TO_STATIC_MEMBER from within an extension.
Previously, if a piece of code inside an extension tried erroneously
to refer to a static class member using instance access, the error
CompileTimeError.UNQUALIFIED_ACCESS_TO_STATIC_MEMBER_OF_EXTENDED_TYPE
would be reported.  This change corrects the error to
CompileTimeError.INSTANCE_ACCESS_TO_STATIC_MEMBER.

In addition, the responsibility to report the error
CompileTimeError.INSTANCE_ACCESS_TO_STATIC_MEMBER is shifted fully to
the resolver (previously, it was split between the resolver and the
error verifier).

Change-Id: Idcd1a3b8a1e226fed692900838c3d2d3c0585d4f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/217020
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-10-17 06:22:30 +00:00
..
closure_execution_order_test.dart
declaration_test.dart
no_setter2_runtime_test.dart
no_setter2_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
no_setter_runtime_test.dart
no_setter_test.dart Fix reporting of INSTANCE_ACCESS_TO_STATIC_MEMBER from within an extension. 2021-10-17 06:22:30 +00:00
override2_test.dart
override3_test.dart
override_test.dart
parameters_runtime_test.dart
parameters_test.dart
setter2_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
setter_getters_setters_test.dart
setter_in_lib.dart
setter_in_lib2.dart
setter_in_lib3.dart
setter_in_lib_test.dart
setter_interceptor_test.dart
setter_order_test.dart
setter_type2_test.dart
setter_type_runtime_test.dart
setter_type_test.dart
syntax_get_set_syntax_test.dart [cfe] Report error on non-void setter return type 2020-09-02 12:43:12 +00:00
syntax_runtime_1_test.dart
syntax_runtime_test.dart
unbound_test.dart