-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
JuliaInterpreter.jl/test/interpret.jl
Lines 416 to 420 in 22f186b
function g_gf() | |
eval(:(z = 2)) | |
return z | |
end | |
@test @interpret g_gf() == 2 |
@test @interpret(g_gf()) == 2
. As much sense as I think that change makes, I decided to try to understand why this happens and only appeared now. It turns out that the error is thrown at JuliaInterpreter.jl/src/construct.jl
Line 753 in 22f186b
local theargs = $(esc(args)) |
==(g_gf(), 2)
. Thus it tries to Core.eval(Main, :(g_gf()))
, and this fails for reasons of world age.
Fundamentally this seems to be testing that JuliaInterpreter doesn't respect world ages properly. Should we ditch this test?
Metadata
Metadata
Assignees
Labels
No labels