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
There's no intentional reason why this couldn't be supported, but it may just be that we parse the unions before the types and then the types parser can't see inside the union. Not sure, but it should be fixable at any rate.
It appears that attempting to create an
@match
that uses unions and expression types results in no matches being found. A few examples:This works:
But adding a union gives no match:
Removing the
_ref
tag fixes it:Similarly, with a
_Symbol
tag, this works:and this doesn't:
Do unions just not support type restrictions?
The text was updated successfully, but these errors were encountered: