summaryrefslogtreecommitdiff
path: root/gnu/packages/sycl.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-22 12:15:14 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-22 17:05:22 +0200
commit3f59fd6d114548480c719d4b8f8509bdf3e8dcca (patch)
tree6460b7b922d15d71f6342d5cc81f12f02c0e5cb7 /gnu/packages/sycl.scm
parent88a2871d8f82a7280486c2a30cc9b510ee8b2b5c (diff)
substitute: Rethrow with 'raise-exception', not 'throw'.
Rethrowing with 'throw' doesn't work as intended when the exception being rethrown is a SRFI-34 exception. Fixes <https://issues.guix.gnu.org/55820>. * guix/scripts/substitute.scm (kind-and-args-exception?): New variable. (call-with-cached-connection): Rewrite using 'guard' instead of 'catch' and 'raise' instead of 'throw'. (system-error?): Use 'kind-and-args-exception?' instead of local definition.
Diffstat (limited to 'gnu/packages/sycl.scm')
0 files changed, 0 insertions, 0 deletions