mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Include param's record references
This commit is contained in:
parent
50b1a60411
commit
8604bb23b2
1 changed files with 2 additions and 1 deletions
|
@ -2404,6 +2404,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
let (record, can_output) =
|
||||
canonicalize_record(env, var_store, scope, loc_pattern.region, params);
|
||||
|
||||
let references = DefReferences::Value(can_output.references.clone());
|
||||
output.union(can_output);
|
||||
|
||||
let loc_record = Loc::at(loc_pattern.region, record);
|
||||
|
@ -2423,7 +2424,7 @@ fn canonicalize_pending_value_def<'a>(
|
|||
|
||||
DefOutput {
|
||||
output,
|
||||
references: DefReferences::Value(References::new()),
|
||||
references,
|
||||
def,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue