mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 11:10:28 +00:00
Rename various TryToCompleteType functions to better describe what they do. (#4658)
As requested in review of #4652.
This commit is contained in:
1 parent
fe8b42148f
commit
92201ceb10
10 files changed
+79
-51
No files matched your search
@@ -349,7 +349,7 @@ static auto CheckFunctionDefinitionSignature(Context& context,
|
||||
}
|
||||
|
||||
// The parameter types need to be complete.
|
||||
context.TryToCompleteType(
|
||||
context.RequireCompleteType(
|
||||
context.insts().GetAs<SemIR::AnyParam>(param_ref_id).type_id,
|
||||
context.insts().GetLocId(param_ref_id), [&] {
|
||||
CARBON_DIAGNOSTIC(
|
||||
|
||||
Reference in new issue
Block a user