here is from v0.6
julia> ex = :(begin
Fun(x, Var(y)), if x == y end => true
_ => false
end)
quote # REPL[8], line 2:
(Fun(x, Var(y)), if x == y # REPL[8], line 2:
end) => true # REPL[8], line 3:
_ => false
end
julia> ex.head
:block
julia> ex.args
4-element Array{Any,1}:
:( # REPL[8], line 2:)
:((Fun(x, Var(y)), if x == y # REPL[8], line 2:
end) => true)
:( # REPL[8], line 3:)
:(_ => false)
julia> ex.args[2].head
:call
Here is the same ex in v0.7
julia> ex = :(begin
Fun(x, Var(y)), if x == y end => true
_ => false
end)
quote
#= REPL[15]:2 =#
(Fun(x, Var(y)), if x == y
#= REPL[15]:2 =#
end => true)
#= REPL[15]:3 =#
_ => false
end
julia> ex.head
:block
julia> ex.args
4-element Array{Any,1}:
:(#= REPL[15]:2 =#)
:((Fun(x, Var(y)), if x == y
#= REPL[15]:2 =#
end => true))
:(#= REPL[15]:3 =#)
:(_ => false)
julia> ex.args[2].head
:tuple
Why is the change? Can someone explain it to me?
Thanks