We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef58dc0 commit b628f6eCopy full SHA for b628f6e
test/interpret.jl
@@ -804,3 +804,10 @@ end
804
# even after https://github.com/JuliaLang/julia/pull/41018
805
@test Int === @interpret Core.Compiler.getfield_tfunc(m.Foo, Core.Compiler.Const(:foo))
806
end
807
+
808
+@testset "https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/488" begin
809
+ m = Module()
810
+ ex = :(foo() = return)
811
+ JuliaInterpreter.finish_and_return!(Frame(m, ex), true)
812
+ @test isdefined(m, :foo)
813
+end
0 commit comments