Rename semantics InvalidType to Error (#2975)

Following up on zygoloid's request [on
#2940](https://github.com/carbon-language/carbon-lang/pull/2940#discussion_r1253522564)
This commit is contained in:
Jon Ross-Perkins authored and GitHub committed 2023-07-06 22:30:56 +00:00
1 parent ea982ad2c8
commit bc84f109fe
28 files changed
+60 -58

No files matched your search

@@ -32,7 +32,7 @@ auto SemanticsHandleCallExpression(SemanticsContext& context,
if (!context.ImplicitAsForArgs(refs_id, name_node.parse_node(),
callable.param_refs_id, &diagnostic)) {
diagnostic.Emit();
context.node_stack().Push(parse_node, SemanticsNodeId::BuiltinInvalidType);
context.node_stack().Push(parse_node, SemanticsNodeId::BuiltinError);
return true;
}