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:
Jon Ross-Perkins authored and GitHub committed 2023-12-12 00:43:04 +00:00
1 parent 032c0e017b
commit 6cc5dc7736
19 files changed
+22 -29

No files matched your search

-5
View File
@@ -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();