-
Notifications
You must be signed in to change notification settings - Fork 225
Closed
Labels
Description
The specification states:
An expression of the form
MyList(object)
orMyList<String>(object)
must only be used for extension member access.
but does not define whether that includes both instance and static members or only instance members. Could you clarify whether static members can be accessed this way?
The question arose because the co19 test LanguageFeatures/Extension-methods/static_member_t02.dart attempts to access a static member of an extension through an extension override:
Expect.equals(str, MySmart(str).smartHelper(str));