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

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

@malmaud

Description

@malmaud
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions