diff --git a/src/runner/PlutoRunner.jl b/src/runner/PlutoRunner.jl index 0df26d2050..5e3b49e81f 100644 --- a/src/runner/PlutoRunner.jl +++ b/src/runner/PlutoRunner.jl @@ -1096,6 +1096,14 @@ function pretty_stackcall(frame::Base.StackFrame, linfo::Core.MethodInstance) end end +function pretty_stackcall(frame::Base.StackFrame, linfo::Method) + sprint(Base.show_tuple_as_call, linfo.name, linfo.sig) +end + +function pretty_stackcall(frame::Base.StackFrame, linfo::Module) + sprint(Base.show, linfo) +end + "Return a `(String, Any)` tuple containing function output as the second entry." function show_richest_withreturned(context::IOContext, @nospecialize(args)) buffer = IOBuffer(; sizehint=0)