test(parse): RED fixture for tuple args & spread #5
Loading…
Reference in a new issue
No description provided.
Delete branch "fixtures/tuple-arg-spread"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
RED for the tuple args / explicit spread feature (TDD contract). Adds:
tests/fixtures/parse/tuple-spread.cat— a parse-phase snippet registeringthe three call forms that PR #4's spec/grammar codified:
f(a, b)— two positional argumentsf((a, b))— one tuple argumentf(...t)— explicit tuple spread into positional argsdocs/prd/0-feature-manifest.mdmapping the feature to thefixture (phase
parse, documented atTuples ▸ In argument lists).Why RED
Per AGENTS.md: no production code without a failing fixture first. This PR is
purely the fixture + manifest entry — it registers the expected syntax ahead
of building the parser. The parser (step 00 onward in
docs/parser/) is thegreen half and is a separate body of work.
Companion codification PR: #4 (
docs/tuple-arg-spread).Files
tests/fixtures/parse/tuple-spread.catdocs/prd/0-feature-manifest.md