tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Dernier runEn cours#127 · main
0Étoiles
0Forks
40Issues

Runtime: run user cleanups while unwinding (issue #49)

- `tl_defer` runs a `defer` cleanup after a body, with the unwinding in
  progress set aside, and resumes it unless the cleanup unwinds itself
  (a panic, a kill), which then replaces it (ADR 0016).
- Cancelling a `ctl` body follows the same rule: a panic or a kill in
  the cancelled code continues past the handler, which returns unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 06469c98b1032b442020f683a549069eea742000

Parents e2f55aa

4 fichiers modifiés, 68 ajouts, 11 suppressions