mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 13:56:40 +00:00
Use static names in typechecker. (#985)
This commit is contained in:
1 parent
8e6c209a28
commit
daf8729a75
4 files changed
+129
-259
No files matched your search
@@ -330,9 +330,7 @@ void ResolveNames(AST& ast) {
|
||||
for (auto declaration : ast.declarations) {
|
||||
ResolveNames(*declaration, file_scope);
|
||||
}
|
||||
if (ast.main_call.has_value()) {
|
||||
ResolveNames(**ast.main_call, file_scope);
|
||||
}
|
||||
ResolveNames(**ast.main_call, file_scope);
|
||||
}
|
||||
|
||||
} // namespace Carbon
|
||||
Reference in new issue
Block a user