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
Unexpected token: '['
Expected one of the following:
with no suggested token provided. Is this a parsing bug? I have been trying to figure out if this could be an intentional limitation on sum types, but I can't find anything in the documentation that would suggest it. If it is intentional, I apologize for filing an unnecessary issue!
The text was updated successfully, but these errors were encountered:
Actually, the parser technology in my head may have matured to the point that this can be fixed. The fix will make certain currently working (but confusing) syntax invalid, though. From the test suite, []#foo | #bar can now longer be used to indicate an array of an anonymous sum type, and [t] mpr_net [n] will not work for an array of elements of type mpr_net [n]. In both cases, the solution is to add parentheses.
The following code fails parsing:
saying
with no suggested token provided. Is this a parsing bug? I have been trying to figure out if this could be an intentional limitation on sum types, but I can't find anything in the documentation that would suggest it. If it is intentional, I apologize for filing an unnecessary issue!
The text was updated successfully, but these errors were encountered: