Skip to content

Commit e3a64e8

Browse files
authored
lowering: remove QuoteNode wrapping for captured variables (JuliaLang#52878)
Issues like JuliaLang#52531 were more broadly fixed by JuliaLang#52856. This commit partially reverts JuliaLang#52596, while leaving the added tests.
1 parent 231fda3 commit e3a64e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/julia-syntax.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3585,7 +3585,7 @@ f(x) = yt(x)
35853585
(rhs (convert-for-type-decl rhs1 (cl-convert vt fname lam #f #f #f interp opaq (table) locals) #t lam))
35863586
(ex (cond (closed `(call (core setfield!)
35873587
,(if interp
3588-
`($ (call (core QuoteNode) ,var))
3588+
`($ ,var)
35893589
(capt-var-access var fname opaq))
35903590
(inert contents)
35913591
,rhs))

0 commit comments

Comments
 (0)