ERR: use the catch match-body form in examples/235

The preceding parser fix (parenthesized match-arm value vs payload capture)
fully enables `catch e == { case .X: (tuple) }` — both scalar and tuple arm
values. Tuple literals in statement/binding position already worked, so the
match-body form runs end-to-end.

Add a `classify` to examples/235 exercising multi-value catch match-body with
per-tag value-tuple arms; exit 164 -> 170. Regenerate the snapshot.

(Corrects an earlier note that wrongly claimed a separate "issue 0059" blocked
the tuple match-body form — no such issue exists; the capture-parse bug was the
whole problem.)

Gates: zig build, zig build test, 273/273 examples.
This commit is contained in:
agra
2026-06-01 00:16:39 +03:00
parent d4b1248f65
commit f96bcc4fe4
3 changed files with 15 additions and 3 deletions

View File

@@ -1 +1 @@
164
170

View File

@@ -1 +1 @@
multi-value result: 164
multi-value result: 170