Skip to content

Commit

Permalink
lowering: remove QuoteNode wrapping for captured variables (#52878)
Browse files Browse the repository at this point in the history
Issues like #52531 were more broadly fixed by #52856. This commit
partially reverts #52596, while leaving the added tests.
  • Loading branch information
aviatesk authored Jan 13, 2024
1 parent 231fda3 commit e3a64e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia-syntax.scm
Original file line number Diff line number Diff line change
Expand Up @@ -3585,7 +3585,7 @@ f(x) = yt(x)
(rhs (convert-for-type-decl rhs1 (cl-convert vt fname lam #f #f #f interp opaq (table) locals) #t lam))
(ex (cond (closed `(call (core setfield!)
,(if interp
`($ (call (core QuoteNode) ,var))
`($ ,var)
(capt-var-access var fname opaq))
(inert contents)
,rhs))
Expand Down

0 comments on commit e3a64e8

Please sign in to comment.