Closed mbravenboer closed 1 year ago
You are passing Expr(:call, [:a, :a])
to simplify. That is
Symbol call
Symbol a
Array{Symbol}((2,))
1: Symbol a
2: Symbol a
Array{Any}((1,))
1: Array{Symbol}((2,))
1: Symbol a
2: Symbol a
Expr
head: Symbol call
args: Array{Any}((1,))
1: Array{Symbol}((2,))
1: Symbol a
2: Symbol a
Perhaps you meant Expr(:call, :a, :a)
because the Expr
constructor is vararg? That works. Also :(a(a))
works.
This example works when replacing
Expr
with some specific struct.