mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 10:30:38 +00:00
Also extend comment on `AlternativeSignature::static_type` as requested.
This commit is contained in:
1 parent
a3b342d8e5
commit
6037f9e622
8 files changed
+60
-56
No files matched your search
@@ -430,8 +430,8 @@ auto ImplDeclaration::Create(Nonnull<Arena*> arena, SourceLocation source_loc,
|
||||
|
||||
void AlternativeSignature::Print(llvm::raw_ostream& out) const {
|
||||
out << "alt " << name();
|
||||
if (auto sig = signature()) {
|
||||
out << **signature();
|
||||
if (auto params = parameters()) {
|
||||
out << **params;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user