Skip to content

Commit 29941e7

Browse files
authored
Update invalidations.jl
1 parent aed0a88 commit 29941e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/invalidations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Recompile any invalidations that occur within the given expression. This is gene
88
by users in creating "Startup" packages to ensure that the code compiled by package authors is not invalidated.
99
"""
1010
macro recompile_invalidations(expr)
11-
# use QuoteNode instead of Expr(:quote) so that $ is not permitted as usual (instead of having this macro work like `@eval`)
11+
# use QuoteNode instead of esc(Expr(:quote)) so that $ is not permitted as usual (instead of having this macro work like `@eval`)
1212
return :(recompile_invalidations($__module__, $(QuoteNode(expr))))
1313
end
1414

1515
function recompile_invalidations(__module__::Module, @nospecialize expr)
1616
list = ccall(:jl_debug_method_invalidation, Any, (Cint,), 1)
1717
try
18-
eval(__module__, expr)
18+
Core.eval(__module__, expr)
1919
finally
2020
ccall(:jl_debug_method_invalidation, Any, (Cint,), 0)
2121
end

0 commit comments

Comments
 (0)