Weird behaviour with show of custom types #45776
Labels
display and printing
Aesthetics and correctness of printed representations of objects.
docs
This change adds or pertains to documentation
The docstring of
IOContext
says:That appears to be wrong after #22981:
And here is something even wilder: Calling
println
instead ofprint
in the definition ofshow
causes it to dispatch to a different method. I have zero idea what is going on here.Beside these two issues which I think are bugs, it's completely unclear to me how to define a custom verbose display for a new type, and not use this display when inside a container. So the documentation here could probably be improved
The text was updated successfully, but these errors were encountered: