-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version
Milestone
Description
I just noticed what seems to have been a resurgence of #265 or a similar problem in 0.6 master, in a context where it didn't appear before (hence a regression).
In IJulia, it calls show(io, "text/plain", x) to get the text representation of the execution result, so if a package or notebook overrides the 3-argument show it should display as such. However, this doesn't seem to be happening anymore. If I make a notebook with
type Foo; end
Base.show(io::IO, ::MIME"text/plain", x::Foo) = print(io, "got a Foo()")
Foo()Then it displays simply as Foo(), corresponding to the default show for composite types.
The reason that I think this is a related to #265 (or its resolution) is that I was able to work around it by calling eval (JuliaLang/IJulia.jl@3ed9573), using the same workaround as in #7884.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous version