Revision 024edd60de22f195409a743c4fb60692c1000735 authored by Keno Fischer on 16 July 2023, 16:31:25 UTC, committed by GitHub on 16 July 2023, 16:31:25 UTC
Fixes the segfault in #50518 and turns it into a proper error at both the syntax level (to catch lowering generating bad slot references) as well as at the codegen level (to catch e.g. bad generated functions and opaque closures). However, note that the latter case is technically undefined behavior, because we do not model the possibility that an otherwise-defined argument could throw at access time. Of course, throwing an error is allowable as undefined behavior and preferable to a segfault.
CITATION.cff
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"
Computing file changes ...