mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 15:12:40 +00:00
Integrates tuple to semantic analysis (#2992)
Handles tuples (including nested tuples) in the semantic phase of the tool chain. Does not handle tuple element access yet. --------- Co-authored-by: Farzana Ahmed Siddique <fasiddique@google.com> Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
30 files changed
+1139
-37
No files matched your search
@@ -256,6 +256,8 @@ class SemanticsNodeStack {
|
||||
case Carbon::ParseNodeKind::StructLiteral:
|
||||
case Carbon::ParseNodeKind::StructTypeLiteral:
|
||||
return IdKind::SemanticsNodeId;
|
||||
case Carbon::ParseNodeKind::TupleLiteral:
|
||||
return IdKind::SemanticsNodeId;
|
||||
case Carbon::ParseNodeKind::IfExpressionThen:
|
||||
case Carbon::ParseNodeKind::IfStatementElse:
|
||||
case Carbon::ParseNodeKind::ParameterList:
|
||||
|
||||
Reference in new issue
Block a user