Imploder creates single-item tuples for some optionals
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
implodePThandles 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
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