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
Pattern matching with label only works with the last enum (with the same base name).
leta=Foo.base(int:4)
if case let.base(string: value)= a {}// Ok
if case let.base(int: value)= a {}// Error: Tuple pattern element label 'int' must be 'string'
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: a48f9b2e2556d2176b6f21b8b57eac60
blocks:
Issue Description:
Given this enum:
Pattern matching with label only works with the last enum (with the same base name).
The text was updated successfully, but these errors were encountered: