Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

MethodError: no method matching getindex(::AbstractTrees.ImplicitNodeStack{Any,Int64}, ::Int64) #189

Open
malmaud opened this issue Mar 30, 2017 · 0 comments

Comments

@malmaud
Copy link

malmaud commented Mar 30, 2017

julia> @enter display([1,2])
In multimedia.jl:154
153   function display(x)
154       for i = length(displays):-1:1
155           xdisplayable(displays[i], x) &&
156               @try_display return display(displays[i], x)

About to run: (length)(<suppressed 492480 bytes of output>)
1|debug > n
In multimedia.jl:154
154       for i = length(displays):-1:1
155           xdisplayable(displays[i], x) &&
156               @try_display return display(displays[i], x)
157       end
About to run: (getindex)(<suppressed 492480 bytes of output>,2)
1|debug > ns
ERROR: MethodError: no method matching getindex(::AbstractTrees.ImplicitNodeStack{Any,Int64}, ::Int64)
 in next_statement!(::ASTInterpreter.Interpreter) at /Users/malmaud/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:670
 in execute_command(::ASTInterpreter.InterpreterState, ::ASTInterpreter.Interpreter, ::Val{:ns}, ::String) at /Users/malmaud/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1508
 in (::ASTInterpreter.##71#77{ASTInterpreter.Interpreter,ASTInterpreter.#promptname#75,ASTInterpreter.InterpreterState,Base.LineEdit.Prompt,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/malmaud/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1615
 in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1579
 in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at /Users/malmaud/julia5/usr/lib/julia/sys.dylib:?
 in RunDebugREPL(::ASTInterpreter.Interpreter) at /Users/malmaud/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1693
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant