Skip to content

Commit b700805

Browse files
authored
Merge pull request #101 from iamed2/patch-2
Fix @compat_gc_preserve on 0.7
2 parents 8c3132f + 52b9193 commit b700805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wizard/obtain_source.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ end
3838

3939
macro compat_gc_preserve(args...)
4040
if VERSION >= v"0.7-"
41-
esc(Expr(:macrocall, Symbol("@gc_preserve"), args...))
41+
esc(Expr(:macrocall, Expr(:., :Base, QuoteNode(Symbol("@gc_preserve"))), args...))
4242
else
4343
esc(args[end])
4444
end

0 commit comments

Comments
 (0)