Skip to content

Commit ad7a861

Browse files
committed
Fix Expr generation for Const
[skip ci]
1 parent 835aab4 commit ad7a861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function toexpr(O, st)
183183
O = substitute_name(O, st)
184184
return issym(O) ? nameof(O) : toexpr(O, st)
185185
elseif isconst(O)
186-
return O.impl.val
186+
return toexpr(O.impl.val, st)
187187
end
188188
O = substitute_name(O, st)
189189

0 commit comments

Comments
 (0)