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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user