-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
broken show method for Base.LogicalIndex #34364
Comments
I am currently working on this issue. |
@stevengj What is the expected outcome of |
There are many different options for display, of course, but since it is defined as a collection of indices my suggestion would be to display the indices, similar to the output of calling However, since it doesn't support |
FWIW, I intentionally left this unimplemented because I didn't think it'd ever get exposed to the user. I'd be curious what prompted the original report if you're willing to share, @jlumpe. |
Just ran into it when looking into how the indexing internals work and saw the error when creating an instance in the REPL. I agree with @stevengj, it seems to me that implementation of |
Yes, this is a bit of a hack as an internal optimization — and really isn't intended to leak out or be broadly used (hence no nice display). We typically define |
As reported in JuliaLang/IJulia.jl#892,
stemming from an error in the
text/plain
method forshow
:The text was updated successfully, but these errors were encountered: