Skip to content

Commit

Permalink
Avoid recursion in print_to_string. (JuliaLang#31083)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored and JeffBezanson committed Feb 16, 2019
1 parent 68db871 commit a00e3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ function resize!(a::Vector, nl::Integer)
_growend!(a, nl-l)
elseif nl != l
if nl < 0
throw(ArgumentError("new length must be ≥ 0, got $nl"))
throw(ArgumentError("new length must be ≥ 0"))
end
_deleteend!(a, l-nl)
end
Expand Down

0 comments on commit a00e3f1

Please sign in to comment.