c98ec26c91
There is no lowering for these members today, so this moves a runtime error to a static error. We may choose to add support when we can add 'static' extension members that use the on-type for their invocation, instead of the extension name. Change-Id: I6e054cc4445292dd952dfd7601d10d871eae187d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/303060 Reviewed-by: Joshua Litt <joshualitt@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>