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
Raw File
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
JuliaSyntax.version
JULIASYNTAX_BRANCH = main
JULIASYNTAX_SHA1 = 4f1731d6ce7c2465fc21ea245110b7a39f34658a
JULIASYNTAX_GIT_URL := https://github.com/JuliaLang/JuliaSyntax.jl.git
JULIASYNTAX_TAR_URL = https://api.github.com/repos/JuliaLang/JuliaSyntax.jl/tarball/$1
back to top