[Chapel Merge] chpldoc: emit 1-tuples with a comma: (1,)

Branch: refs/heads/master
Revision: 222bc0b
Author: lydia-duncan
Log Message:

Merge pull request #17054 from cassella/chpldoc-1ples

chpldoc: emit 1-tuples with a comma: (1,)
[contributed by @cassella, reviewed by Lydia]

This disambiguates them from the regular syntax of (expression).

Retires the future for and resolves #16940
Fixes the syntax in the test.

Updates the .good files for three tests that report 1-tuples.

Passed a full paratest with futures

Modified Files:
R test/chpldoc/functions/functionArgDefaultOneTuple.doc.bad
R test/chpldoc/functions/functionArgDefaultOneTuple.doc.future
M compiler/AST/AstToText.cpp
M test/chpldoc/functions/functionArgDefaultOneTuple.doc.chpl
M test/chpldoc/types/arguments/tuples.doc.good
M test/chpldoc/types/fields/tuples.doc.good
M test/chpldoc/types/returns/tuples.doc.good

Compare: Comparing 26f12598b9f4...222bc0b498c8 · chapel-lang/chapel · GitHub