You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -216,7 +216,7 @@ function Base.show(io::IO, ::MIME"text/plain", s::Session)
216
216
end
217
217
end
218
218
function Base.getproperty(sp::Session, s::Symbol)
219
-
m =getfield(sp, :store)
219
+
m =get_store(sp)
220
220
ifisdefined(m, s)
221
221
getproperty(m, s)
222
222
else
@@ -294,6 +294,12 @@ function end_session!(s::Session = store)
294
294
returnnothing
295
295
end
296
296
297
+
functionget_store(s::Session= store)
298
+
isdefined(s, :store) &&returngetfield(s, :store)
299
+
ccall(:jl_generating_output, Cint, ()) ==1&&error("Functionality provided by this package should not be used during precompilation or other compilation modes")
300
+
error("The provided session does not have a module")
301
+
end
302
+
297
303
"""
298
304
clear_store!(s = safehouse)
299
305
@@ -499,7 +505,7 @@ function exfiltrate_locals(io, evalmod, locals, sline::AbstractString)
0 commit comments