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