mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 01:18:14 +00:00
Start populating named entities in relevant locations. (#919)
This starts detecting naming collisions as a consequence of being able to determine when the name is declared twice in a given scope. Co-authored-by: Geoff Romer <gromer@google.com>
This commit is contained in:
1 parent
82a870cfcd
commit
27e084d37a
25 files changed
+586
-30
No files matched your search
@@ -54,8 +54,8 @@ void FunctionDeclaration::PrintDepth(int depth, llvm::raw_ostream& out) const {
|
||||
if (i != 0) {
|
||||
out << ", ";
|
||||
}
|
||||
out << deduced.name << ":! ";
|
||||
deduced.type->Print(out);
|
||||
out << deduced.name() << ":! ";
|
||||
deduced.type().Print(out);
|
||||
++i;
|
||||
}
|
||||
out << "]";
|
||||
|
||||
Reference in new issue
Block a user