Spurious parentheses in generated expression

Dooo. That wasn’t the right bit of code.

The problem was here

Expr(:curly, :Union, Nothing, LineNumberNode)),

where Union wasn’t quoted.

Thanks.