ERR/E5.4: add composition section to the errors smoke example

Extends 1036-errors-failable-smoke with an end-to-end Composition section
covering the E5.1 forms: a failable closure literal through a Closure(...)
param (try-propagated, caught), a non-failable closure literal widened
into a failable bare slot (∅-widening adapter), and generic ($T)
value-carrying failable composition. Completes E5.4 — the per-feature
examples (1039-1045) remain the focused units; this is the integrated
smoke.
This commit is contained in:
agra
2026-06-01 22:47:58 +03:00
parent 2e6e031233
commit 5491acbcbb
2 changed files with 34 additions and 0 deletions

View File

@@ -16,4 +16,8 @@ acquire fail:
defer A
acquire ok:
defer A
closure-run: 12
closure-run-err: -9
widen: 10
wrap: 42
errors ok