Skip to content

Commit

Permalink
length of types
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Jan 9, 2015
1 parent 18cbf2e commit 029c845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/replutil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function showerror(io::IO, e::MethodError)
if isdefined(e, :types)
for (i, arg) in enumerate(e.types)
print(io, "::$arg")
i == length(e.args) || print(io, ", ")
i == length(e.types) || print(io, ", ")
end
else
for (i, arg) in enumerate(e.args)
Expand Down

0 comments on commit 029c845

Please sign in to comment.