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>