Skip to content

Commit

Permalink
Remove eval
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt committed Jan 8, 2025
1 parent e540cb6 commit 47e13d1
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 @@ -120,7 +120,7 @@ function _deepcopy_memory_t(@nospecialize(x::Memory), T, stackdict::IdDict)
end
return dest
end
@eval function deepcopy_internal(x::Array{T, N}, stackdict::IdDict) where {T, N}
function deepcopy_internal(x::Array{T, N}, stackdict::IdDict) where {T, N}
if haskey(stackdict, x)
return stackdict[x]::typeof(x)
end
Expand Down

0 comments on commit 47e13d1

Please sign in to comment.