Skip to content

Commit 257b287

Browse files
convert to Symbol
1 parent 1261477 commit 257b287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function Expression(ex;mod=Main)
33
ex.head === :if && (ex = Expr(:call, ifelse, ex.args...))
44
ex.head === :call || throw(ArgumentError("internal representation does not support non-call Expr"))
55

6-
op = getproperty(mod,ex.args[1])
6+
op = getproperty(mod,Symbol(ex.args[1]))
77
args = convert.(Expression, ex.args[2:end])
88

99
return Operation(op, args)

0 commit comments

Comments
 (0)