Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JuliaLang/julia
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Feb 12, 2015
2 parents 4ec715f + cc693f1 commit 05dc3b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions base/replutil.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,9 @@ function showerror(io::IO, ex::MethodError)
# and sees a no method error for convert
if ex.f == Base.convert && !isempty(ex.args) && isa(ex.args[1], Type)
println(io)
print(io, "This may have arisen from a call to the constructor $(ex.args[1])(...), ")
print(io, "since type constructors fall back to convert methods in julia v0.4.")
print(io, "This may have arisen from a call to the constructor $(ex.args[1])(...),")
print(io, "\nsince type constructors fall back to convert methods.")
end

show_method_candidates(io, ex)
end

Expand Down

0 comments on commit 05dc3b0

Please sign in to comment.