Imploder creates single-item tuples for some optionals
Optionals with a sequence the form
("extends" X)
give an AST likeSome(("X"))
, where the inner parentheses indicate a single-item tuple. This is bad. It’s also not howimplodePT
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
Issue Log
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