Trying to generate a type in 2 ways:
Expr(:type, false, :Oo, Expr(:block, :(field::Int)))
and
quote
immutable Oo
field::Int
end
end
I’ve got 2 functionally equivalent, but different results for Expr
and quote
approaches respectively:
immutable Oo
field::Int
end
and
begin # console, line 2
immutable Oo # console, line 3
field::Int
end
end
The quote
approach for some reason generates additional line
comments, and wraps the type in begin ... end
block.
Question: is it possible to get rid of this redundant info?