Lex and parse support for ... statements and expand. (#7832)

No support for `each` yet, but this should be enough that we can try out
an implementation approach supporting expanding a statement across
elements of a tuple without building "real" variadics.

Assisted-by: Claude via Antigravity
This commit is contained in:
Richard Smith authored and GitHub committed 2026-10-05 22:23:12 +00:00
1 parent ae5d1efd13
commit 2ec4bab59b
12 files changed
+958 -430

No files matched your search

+1
View File
@@ -468,6 +468,7 @@ class NodeStack {
case Parse::NodeKind::LetInitializer:
case Parse::NodeKind::LetIntroducer:
case Parse::NodeKind::NamedConstraintIntroducer:
case Parse::NodeKind::PackExpansionStart:
case Parse::NodeKind::RefBindingName:
case Parse::NodeKind::RuntimeBindingName:
case Parse::NodeKind::ReturnStatementStart: