mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 21:41:27 +01:00
Support declaration modifier keywords (#3412)
Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
co-authored by
Jon Ross-Perkins
parent
22dff46ed2
commit
fada410559
@@ -222,6 +222,11 @@ auto Tree::Verify() const -> ErrorOr<Success> {
|
||||
n.index));
|
||||
}
|
||||
|
||||
if (n_impl.kind == NodeKind::Placeholder) {
|
||||
return Error(llvm::formatv(
|
||||
"Node #{0} is a placeholder node that wasn't replaced.", n.index));
|
||||
}
|
||||
|
||||
int subtree_size = 1;
|
||||
if (n_impl.kind.has_bracket()) {
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user