mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:36:59 +00:00
189aeead47
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> |
||
---|---|---|
.. | ||
closure_execution_order_test.dart | ||
declaration_test.dart | ||
no_setter2_runtime_test.dart | ||
no_setter2_test.dart | ||
no_setter_runtime_test.dart | ||
no_setter_test.dart | ||
override2_test.dart | ||
override3_test.dart | ||
override_test.dart | ||
parameters_runtime_test.dart | ||
parameters_test.dart | ||
setter2_test.dart | ||
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 | ||
syntax_runtime_1_test.dart | ||
syntax_runtime_test.dart | ||
unbound_test.dart |