Revert accidental change from #7063 (#7069)

This commit is contained in:
Geoff Romer
2026-04-16 20:31:54 +00:00
committed by GitHub
parent 327cb2396a
commit df33276f6b
+5 -5
View File
@@ -181,11 +181,11 @@ class MatchContext {
return value_id;
}
// Performs the core logic of matching a variable pattern, returning the
// scrutinee that its subpattern should be matched with, rather than pushing
// it onto the worklist. This is factored out so it can be reused when
// handling a `FormBindingPattern` or `FormParamPattern` with an initializing
// form.
// Performs the core logic of matching a variable pattern whose type is
// `pattern_type_id`, but returns the scrutinee that its subpattern should be
// matched with, rather than pushing it onto the worklist. This is factored
// out so it can be reused when handling a `FormBindingPattern` or
// `FormParamPattern` with an initializing form.
auto DoVarPreWorkImpl(State state, SemIR::TypeId pattern_type_id,
SemIR::InstId scrutinee_id, WorkItem entry) const
-> SemIR::InstId;