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
@MadsTorgersen I have some issues with the spec in #8415... I'm taking a much simpler approach for the prototype (of inferring positional pattern-matching from the presence of constructors). I'm not going to do any overload resolution. I'm not going to use the patterns to decide which constructors to consider. If your pattern has two elements, I'll just look for all accessible two-argument constructors whose argument names correspond to accessible properties (or fields). If there are none, or they do not all agree on which members they identify, it is an error. If they all agree, then those are the members we access for the pattern-matching operation.
Implement #8415
The text was updated successfully, but these errors were encountered: