mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Replace the NodeKind StructFieldUnknown with InvalidParse. (#3482)
StructFieldUnknown was used previously for invalid parses. But we have added other, more common ways of talking about those; so this is removing the special-case.
This commit is contained in:
@@ -30,11 +30,6 @@ auto HandleStructFieldType(Context& context, Parse::NodeId parse_node) -> bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
auto HandleStructFieldUnknown(Context& context, Parse::NodeId parse_node)
|
||||
-> bool {
|
||||
return context.TODO(parse_node, "HandleStructFieldUnknown");
|
||||
}
|
||||
|
||||
auto HandleStructFieldValue(Context& context, Parse::NodeId parse_node)
|
||||
-> bool {
|
||||
auto value_inst_id = context.node_stack().PopExpr();
|
||||
|
||||
Reference in New Issue
Block a user