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 7, 2015
1 parent 4c11911 commit a7f5aae
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 @@ -129,7 +129,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 a7f5aae

Please sign in to comment.