Add
Core.eval(m::Module, c::GeneratedCode) = Core.eval(m, c.code)
should work. The new eval function created within every module is actually just something like eval(x) = Core.eval(@__MODULE__, x).
Add
Core.eval(m::Module, c::GeneratedCode) = Core.eval(m, c.code)
should work. The new eval function created within every module is actually just something like eval(x) = Core.eval(@__MODULE__, x).