Skip to content
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

Display broken for SimpleVector (svec) #17338

Closed
omus opened this issue Jul 8, 2016 · 2 comments
Closed

Display broken for SimpleVector (svec) #17338

omus opened this issue Jul 8, 2016 · 2 comments

Comments

@omus
Copy link
Member

omus commented Jul 8, 2016

Trying to display an svec produces the following exception:

julia> Tuple.parameters
Error showing value of type SimpleVector:
ERROR: MethodError: no method matching indices(::SimpleVector, ::Int64)WARNING: Error showing method candidates, aborted

 in display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::MIME{Symbol("text/plain")}, ::SimpleVector) at ./REPL.jl:114
 in display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::SimpleVector) at ./REPL.jl:117
 in display(::SimpleVector) at ./multimedia.jl:143
 in print_response(::Base.Terminals.TTYTerminal, ::Any, ::Void, ::Bool, ::Bool, ::Void) at ./REPL.jl:134
 in print_response(::Base.REPL.LineEditREPL, ::Any, ::Void, ::Bool, ::Bool) at ./REPL.jl:121
 in (::Base.REPL.##18#19{Bool,Base.REPL.##29#38{Base.REPL.LineEditREPL,Base.REPL.REPLHistoryProvider},Base.REPL.LineEditREPL,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at ./REPL.jl:631
 in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1570
 in run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at ./REPL.jl:882
 in run_repl(::Base.REPL.LineEditREPL, ::Base.##598#599) at ./REPL.jl:167
 in _start() at ./client.jl:364
@JeffBezanson
Copy link
Member

Yeah, just noticed this myself. Caused by #16973, which probably should not have been added to 0.5.

@timholy
Copy link
Member

timholy commented Jul 8, 2016

which probably should not have been added to 0.5.

To clarify, it was #17137, which was a recommended cleanup from #16260. The other half of #16973 is #17228, which still can be put on hold if you prefer.

Or we can revert #16260 for julia-0.5 if you're really worried about "Arraypocalypse" coming true...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants