Sergey Gromov wrote:
Comma expression is not ambiguous. It's a comma expression. Renaming it into a tuple constructor expression does not add any ambiguity. Parentheses here are only required to separate the comma expression from an assignment expression which otherwise would become a part of comma expression. Sure there are problems with making tuples first-class, but this is certainly not one of them.
I don't understand. So are you suggesting that the comma expression gets sacked?
I'm putting together a blog post about a possible design of first-class tuples in D. Hope it won't take too long.
What does "first-class" mean? Andrei