From aad22573d8aa78d4e0eeddb20ce07e3504064f4b Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> Date: Wed, 11 Sep 2024 01:41:01 +0900 Subject: [PATCH] require JuliaInterpreter v0.9.36 (#655) --- Project.toml | 4 ++-- src/toplevel/virtualprocess.jl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index c63aaf468..e8d6b6f9a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JET" uuid = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" authors = ["Shuhei Kadowaki "] -version = "0.9.8" +version = "0.9.9" [deps] CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2" @@ -29,7 +29,7 @@ CodeTracking = "1.3.1" Cthulhu = "2.14.0" Example = "0.5.3" InteractiveUtils = "1.10" -JuliaInterpreter = "0.9" +JuliaInterpreter = "0.9.36" Libdl = "1.10" Logging = "1.10" LoweredCodeUtils = "3" diff --git a/src/toplevel/virtualprocess.jl b/src/toplevel/virtualprocess.jl index d791e4fd3..2ff81d317 100644 --- a/src/toplevel/virtualprocess.jl +++ b/src/toplevel/virtualprocess.jl @@ -1418,7 +1418,7 @@ function JuliaInterpreter.step_expr!(interp::ConcreteInterpreter, frame::Frame, return frame.pc += 1 end - res = @invoke JuliaInterpreter.step_expr!(interp::Any, frame::Any, node::Any, true::Bool) + res = @invoke JuliaInterpreter.step_expr!(interp::Any, frame::Frame, node::Any, istoplevel::Bool) should_analyze_from_definitions(interp.config) && collect_toplevel_signature!(interp, frame, node) @@ -1585,7 +1585,7 @@ const JULIAINTERPRETER_BUILTINS_FILE = let end # handle errors from toplevel user code -function JuliaInterpreter.handle_err(interp::ConcreteInterpreter, frame, err) +function JuliaInterpreter.handle_err(interp::ConcreteInterpreter, frame::Frame, @nospecialize(err)) # catch stack trace bt = catch_backtrace() st = stacktrace(bt)