mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Support tuple patterns outside parameter lists (#4923)
Parameter lists need substantially different treatment than tuple patterns in other contexts, so this change splits them into separate parse node kinds. --------- Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
35f5a7f115
commit
74e1a9949f
@@ -152,6 +152,8 @@ CARBON_PARSE_NODE_KIND(TuplePatternStart)
|
||||
CARBON_PARSE_NODE_KIND(PatternListComma)
|
||||
CARBON_PARSE_NODE_KIND(TuplePattern)
|
||||
|
||||
CARBON_PARSE_NODE_KIND(ExplicitParamListStart)
|
||||
CARBON_PARSE_NODE_KIND(ExplicitParamList)
|
||||
CARBON_PARSE_NODE_KIND(ImplicitParamListStart)
|
||||
CARBON_PARSE_NODE_KIND(ImplicitParamList)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user