Break the monolithic examples/50-smoke.sx into 30 focused per-section examples,
filed into their category blocks (basic/types/comptime/memory/protocols/ffi),
each carrying only the top-level decls its section references (the protocols
section keeps the full preamble — its deps flow through UFCS method calls that
name-based extraction can't see). Outputs verified identical to the original
section blocks.
Add examples/1036-errors-failable-smoke.sx — an end-to-end error-handling example
(the E5.4 work): named + inferred error sets consumed via destructure, try (in
helpers), catch (bare-expr / match-body / diverging / no-binding), or
value-terminator, onfail+defer interleave, and error.X value + {} tag
interpolation.
Remove examples/50-smoke.sx. Suite: 324 passed, 0 failed.
28 lines
306 B
Plaintext
28 lines
306 B
Plaintext
=== Protocols ===
|
|
P1.1: 3
|
|
P1.2: 30
|
|
P2.1: 42
|
|
P2.2: 150
|
|
P2.3: 5 10
|
|
P3.1: 5
|
|
P3.2: 12
|
|
hi hi
|
|
P4.1: 2
|
|
yo yo
|
|
P4.2: 2
|
|
P4.3: 6 2
|
|
P5.1: true false
|
|
P5.2: 10 20
|
|
P5.5: true false
|
|
P5.3: true false
|
|
P6.1: true false
|
|
P6.2: true false
|
|
P6.3: true false
|
|
P6.4: 40
|
|
P6.5: 20
|
|
P7.1: 30
|
|
P7.2: 10 300
|
|
P2.6: 5 10
|
|
P2.7: 15
|
|
P3.3: 102
|