-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
It currently doesn't (it just produces x), but this would be helpful. Currently, generic routines that build tuples don't have to choose between
- failing when they should produce 1-element tuples.
- producing tuples with named elements that are now incompatible with other tuples (see abb7381).
This parsing also seems to be consistent with the grammar. The relevant snippet:
tupleConstr = '(' optInd (exprColonEqExpr comma?)* optPar ')'
timotheecour and haltcase