mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Expand use of IndexBase (#2436)
Initially I'd added this to lexer, this includes parser and semantics. Also adds ComparableIndexBase to unify a few common cases where <> comparisons are supported. Co-authored-by: Richard Smith <richard@metafoo.co.uk>
This commit is contained in:
co-authored by
Richard Smith
parent
94cf343b05
commit
d50fef1736
@@ -113,7 +113,7 @@ auto SemanticsParseTreeHandler::Build() -> void {
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
CARBON_FATAL() << "In ParseTree at index " << parse_node.index()
|
||||
CARBON_FATAL() << "In ParseTree at index " << parse_node
|
||||
<< ", unhandled NodeKind " << parse_kind;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user