You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[5.1][Sema] Treat static methods as always applying self
Currently `areConservativelyCompatibleArgumentLabels` treats a reference
to a declaration as not applying its curried self parameter if it
doesn't have a base type. However this isn't correct for static
operators, which have their Self.Type parameter applied but don't have
a base type.
This commit changes `areConservativelyCompatibleArgumentLabels` to
always treat static methods as having their Self.Type parameters
applied, as there's currently no way to form an unapplied curried
reference to them.
Resolves SR-10843.
0 commit comments