You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support external method tables in method evaluation (#680)
* Support evaluation of overlayed methods
* Add comment
* Bump version
* Support more expression types defining the external method table
* Attempt a few fixes
* Fix 1.12/nightly failures that were present before this PR
* Adjust to JuliaLang/julia#58076
* `jl_method_def` actually returned a `Method` already
* Export `extract_method_table`, add option to disallow `eval`
* Quickly try a nightly fix
* Remove unnecessary dependency on Tensors for testing
The test that used it doesn't actually need it to
test what was intended
* Wrap evaluation in try/catch
* Use isdefinedglobal
* Adjust broken test to have it throw consistently
Otherwise, it would fail at the first evaluation and
succeed on subsequent ones.
* Update comment
* Replace `Core.eval` with `getglobal`
* Update src/interpret.jl
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
---------
Co-authored-by: Cédric Belmant <cedric.belmant@juliahub.com>
Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
0 commit comments