Xinglu Chen schreef op di 21-12-2021 om 18:17 [+0100]: > O[...] > Yeah, the catch/throw system doesn’t really work well with ‘raise’. > Here is what I found after some digging: [...]
My point was that a raise-style exception shouldn't be wrapped in a (%exception ...) and then again in an &exception-with-kind-and-args, this wrapping should ‘collapse’. Seems like a bug in Guile. Anyway, your patch to Guix looks reasonable to me, though it would be a good idea to look into fixing the double-wrapping in Guile. Greetings, Maxime.