Skip to content

Commit

Permalink
fix #4080, don't try to deepcopy Tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Aug 16, 2013
1 parent fd32f9a commit 1e2df22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/deepcopy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
deepcopy(x) = deepcopy_internal(x, ObjectIdDict())

deepcopy_internal(x::Union(Symbol,LambdaStaticData,TopNode,QuoteNode,
DataType,UnionType),
DataType,UnionType,Task),
stackdict::ObjectIdDict) = x
deepcopy_internal(x::Tuple, stackdict::ObjectIdDict) =
ntuple(length(x), i->deepcopy_internal(x[i], stackdict))
Expand Down

0 comments on commit 1e2df22

Please sign in to comment.