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
I expect the compiler to either do the right match (accepting string value for val b) or give some diagnostic about the limitation of match types not playing with structural patterns