mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 10:00:29 +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
@@ -82,7 +82,8 @@ void AbstractPattern::AppendElementsTo(
|
||||
}
|
||||
} else if (const auto* alt = dyn_cast<AlternativeValue>(value)) {
|
||||
if (auto arg = alt->argument()) {
|
||||
out.push_back(AbstractPattern(*arg, *alt->alternative().static_type()));
|
||||
out.push_back(AbstractPattern(
|
||||
*arg, *alt->alternative().parameters_static_type()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user