Skip to content

Commit f2c77be

Browse files
authored
Fix tests for Julia 1.9 (#355)
1 parent c0972c9 commit f2c77be

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/interpret.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ end
44

55
step_through(enter_call_expr(:($(CallTest)())))
66

7+
# https://github.com/JuliaLang/julia/pull/44776
8+
@static if isdefined(Base, Symbol("@_pure_meta"))
9+
var"@metamacro" = Base.var"@_pure_meta"
10+
else
11+
var"@metamacro" = Base.var"@_total_meta"
12+
end
13+
714
# Properly handle :meta annotations
815
function MetaTest()
9-
@Base._pure_meta
16+
@metamacro
1017
0
1118
end
1219

0 commit comments

Comments
 (0)