Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/errors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function code_typed_helper(mi::Core.MethodInstance, world::UInt, mode::Enzyme.AP
sig = mi.specTypes # XXX: can we just use the method instance?
if interactive
# call Cthulhu without introducing a dependency on Cthulhu
Cthulhu = Base.PkgId(Base.UUID("f68482b8-f384-11e8-15f7-abe071a5a75f"), "Cthulhu")
mod = get(Base.loaded_modules, Cthulhu, nothing)
mod===nothing && error("Interactive code reflection requires Cthulhu; please install and load this package first.")
descend_code_typed = getfield(mod, :descend_code_typed)
Expand Down
Loading