Trying to generate a type in 2 ways:
Expr(:type, false, :Oo, Expr(:block, :(field::Int)))
quote immutable Oo field::Int end end
I’ve got 2 functionally equivalent, but different results for
quote approaches respectively:
immutable Oo field::Int end
begin # console, line 2 immutable Oo # console, line 3 field::Int end end
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?