Error messages for 1-tuples are confusing #6388
Original bug ID: 6388
If I construct an 1-tuple directly via AST, e.g. with
Error: This expression has type int but an expression was expected of type int
Also, the pretty-printer prints it as an expression, which doesn't help.
I think the Pprintast should be extended to print 1-tuples (and perhaps 0-tuples?) in a special way; if I did not know exactly what the bug were, I would have spent hours figuring it out.