https://github.com/JuliaLang/julia
Revision 7eb5cb89fb938a1dc67efa3861b25562767a7bbe authored by Shuhei Kadowaki on 12 March 2024, 11:57:25 UTC, committed by GitHub on 12 March 2024, 11:57:25 UTC
Previously `oc` constructed via `Core.OpaqueClosure` does not set
`oc.source.slot_syms` set, which caused segfaults either when trying to
`show` `oc.source` or if invocation of `oc(...)` threw an error. This
commit fixes that by making sure `oc.source.slot_syms` is set for `oc`
created with `jl_new_opaque_closure_from_code_info`.
1 parent 22602a2
History
Tip revision: 7eb5cb89fb938a1dc67efa3861b25562767a7bbe authored by Shuhei Kadowaki on 12 March 2024, 11:57:25 UTC
set `slot_syms` for methods of OCs constructed via `Core.OpaqueClosure` (#53650)
Tip revision: 7eb5cb8
File Mode Size
bb-install.mk -rw-r--r-- 3.3 KB
common.mk -rw-r--r-- 8.9 KB
git-external.mk -rw-r--r-- 3.2 KB
jlchecksum -rwxr-xr-x 3.9 KB
jldownload -rwxr-xr-x 1.3 KB
stdlib-external.mk -rw-r--r-- 1.2 KB
uninstallers.mk -rw-r--r-- 1.6 KB

back to top