Transform pattern default values to SemIR (#7649)

Adds check functionality to transform the parse node to SemIR. Only
supported for single declarations of functions, re-declaration and
imports to come in a subsequent PR.

Per #7521.
This commit is contained in:
Lucile Rose Nihlen
2026-09-01 16:12:34 +00:00
committed by GitHub
parent 91c1e1049d
commit 3e64670122
22 changed files with 491 additions and 18 deletions
+1
View File
@@ -1963,6 +1963,7 @@ static auto ImportFunction(Context& context, SemIR::LocId loc_id,
.call_param_patterns_id =
function_params_insts->call_param_patterns_id,
.call_params_id = function_params_insts->call_params_id,
.call_param_default_values_id = SemIR::InstBlockId::None,
.call_param_ranges = function_params_insts->param_ranges,
.return_type_inst_id = function_params_insts->return_type_inst_id,
.return_form_inst_id = function_params_insts->return_form_inst_id,