JuliaDebug / JuliaInterpreter.jl

Interpreter for Julia code
Other
162 stars 34 forks source link

Precompilation error on Julia 1.12: `private` not defined #630

Closed fredrikekre closed 3 months ago

fredrikekre commented 3 months ago

With JuliaInterpreter commit ce6e341 and Julia commit 54091eae2d I get

ERROR: LoadError: UndefVarError: `private` not defined in `JuliaInterpreter.var"#Internal".Private`
Stacktrace:
  [1] evaluate_methoddef(frame::JuliaInterpreter.Frame, node::Expr)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/interpret.jl:324
  [2] eval_rhs(recurse::Any, frame::JuliaInterpreter.Frame, node::Expr)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/interpret.jl:434
  [3] step_expr!(recurse::Any, frame::JuliaInterpreter.Frame, node::Any, istoplevel::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/interpret.jl:583
  [4] step_expr!(recurse::Any, frame::JuliaInterpreter.Frame, istoplevel::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/interpret.jl:643
  [5] finish!
    @ ~/.julia/packages/JuliaInterpreter/HbFoU/src/commands.jl:14 [inlined]
  [6] finish_and_return!(recurse::Any, frame::JuliaInterpreter.Frame, istoplevel::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/commands.jl:30
  [7] finish_stack!(recurse::Any, frame::JuliaInterpreter.Frame, rootistoplevel::Bool)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/commands.jl:60
  [8] debug_command(recurse::Any, frame::JuliaInterpreter.Frame, cmd::Symbol, rootistoplevel::Bool; line::Nothing)
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/commands.jl:521
  [9] debug_command
    @ ~/.julia/packages/JuliaInterpreter/HbFoU/src/commands.jl:453 [inlined]
 [10] debug_command
    @ ~/.julia/packages/JuliaInterpreter/HbFoU/src/commands.jl:535 [inlined]
 [11] _precompile_()
    @ JuliaInterpreter ~/.julia/packages/JuliaInterpreter/HbFoU/src/precompile.jl:17