Skip to content

Commit 7d0376a

Browse files
authored
function name is actually a QuoteNode
1 parent 4da0441 commit 7d0376a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/reverse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function passthrough_expr(ex::Expr)
259259
isexpr(ex, GlobalRef, :call, :isdefined, :inbounds, :meta, :loopinfo) && return true
260260
# ccalls and more that are safe to preserve/required for proper operation:
261261
# - jl_set_task_threadpoolid: added in 1.9 for @spawn
262-
isexpr(ex, :foreigncall) && ex.args[1] in (:jl_set_task_threadpoolid,) && return true
262+
isexpr(ex, :foreigncall) && unwrapquote(ex.args[1]) in (:jl_set_task_threadpoolid,) && return true
263263
return false
264264
end
265265

0 commit comments

Comments
 (0)