Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add warning for missing module in myid() == 1

  • Loading branch information...
commit 31c286fc82f35b6a6906398f4c627d179914315c 1 parent 638572d
@timholy timholy authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  base/serialize.jl
View
3  base/serialize.jl
@@ -330,6 +330,9 @@ function deserialize(s, ::Type{Module})
path = deserialize(s)
m = Main
for mname in path
+ if !isdefined(m,mname)
+ warn("Module $mname not defined on process $(myid())") # an error seemingly fails
+ end
m = eval(m,mname)::Module
end
m
Please sign in to comment.
Something went wrong with that request. Please try again.