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
CITATION.cff
# Official format description at https://citation-file-format.github.io
cff-version: 1.2.0
message: "Cite this paper whenever you use Julia"
authors:
- family-names: "Bezanson"
  given-names: "Jeff"
- family-names: "Edelman"
  given-names: "Alan"
- family-names: "Karpinski"
  given-names: "Stefan"
- family-names: "Shah"
  given-names: "Viral B."
title: "Julia: A fresh approach to numerical computing"
version: "v1"
license: "MIT"
doi: "10.1137/141000671"
date-released: 2017-02-07
url: "https://julialang.org"
preferred-citation:
  authors:
    - family-names: "Bezanson"
      given-names: "Jeff"
    - family-names: "Edelman"
      given-names: "Alan"
    - family-names: "Karpinski"
      given-names: "Stefan"
    - family-names: "Shah"
      given-names: "Viral B."
  doi: "10.1137/141000671"
  journal: "SIAM Review"
  month: 9
  start: 65
  end: 98
  pages: 33
  title: "Julia: A fresh approach to numerical computing"
  type: article
  volume: 59
  issue: 1
  year: 2017
  publisher:
    name: "SIAM"
back to top