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
In the code below we partially match the .foo enum case as case .foo(bar: let x):, clearly the second associated value is missing but it still compiles.
Additional Detail from JIRA
md5: 43a770196ba681962689953d1d4678fe
relates to:
Issue Description:
In the code below we partially match the
.foo
enum case ascase .foo(bar: let x):
, clearly the second associated value is missing but it still compiles.It just totally ignores the "
bar:
" bit and makesx
be the tuple("hello world", 42)
.The text was updated successfully, but these errors were encountered: