mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 21:21:04 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user