mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +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:
@@ -238,7 +238,7 @@ auto SemanticsHandleMemberAccessExpression(SemanticsContext& context,
|
||||
}
|
||||
|
||||
// Should only be reached on error.
|
||||
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