Optionals with a sequence the form ("extends" X) give an AST like Some(("X")), where the inner parentheses indicate a single-item tuple. This is bad. It’s also not how implodePT handles it, as that tool doesn’t do tuples, so we should just fix this.

(See Spoofax/105 for a similar problem in the Spoofax imploder.)

Submitted by Lennart Kats on 3 May 2010 at 17:20

On 14 July 2010 at 13:40 Lennart Kats commented:

Note that as of r2110, Spoofax still gives a warning about these sequences, but does produce a proper AST without the tuple.

Log in to post comments