mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 07:11:04 +01:00
Also extend comment on `AlternativeSignature::static_type` as requested.
This commit is contained in:
@@ -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