Skip to content

EPA: empty tup_tail has noAnn

Alan Zimmerman requested to merge wip/az/epa-tup-tail-bool into master

In Parser.y, the tup_tail rule had the following option

          | {- empty -} %shift   { return [Left noAnn] }

Once this works through PostProcess.hs, it means we add an extra Missing constructor if the last item was a comma.

Change the annotation type to a Bool to indicate this, and use the EpAnn Anchor for the print location for the others.

Merge request reports