diff --git a/base/replutil.jl b/base/replutil.jl index 8925ea34f4e59..ceeff657f778f 100644 --- a/base/replutil.jl +++ b/base/replutil.jl @@ -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