mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 06:16:42 +00: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:
1 parent
35f5a7f115
commit
74e1a9949f
201 files changed
+1680
-860
No files matched your search
@@ -2155,6 +2155,7 @@ static auto TryEvalInstInContext(EvalContext& eval_context,
|
||||
case SemIR::ReturnSlotPattern::Kind:
|
||||
case SemIR::StructLiteral::Kind:
|
||||
case SemIR::TupleLiteral::Kind:
|
||||
case SemIR::TuplePattern::Kind:
|
||||
case SemIR::ValueParam::Kind:
|
||||
case SemIR::VarPattern::Kind:
|
||||
case SemIR::VarStorage::Kind:
|
||||
|
||||
Reference in new issue
Block a user