Remove AlternativeValueBase, per review comments on #2605. (#2606)

Also extend comment on `AlternativeSignature::static_type` as requested.
This commit is contained in:
Richard Smith
2023-02-16 11:15:13 -08:00
committed by GitHub
parent a3b342d8e5
commit 6037f9e622
8 changed files with 60 additions and 56 deletions
+2 -2
View File
@@ -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;
}
}