mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
cleanup
This commit is contained in:
parent
1600a5b854
commit
0cddd6b069
1 changed files with 0 additions and 4 deletions
|
@ -2201,15 +2201,11 @@ impl Declarations {
|
|||
|
||||
self.declarations[index] = DeclarationTag::Function(function_def_index);
|
||||
self.expressions[index] = *closure_data.loc_body;
|
||||
|
||||
// TODO investigate whether this matters, and if we can be more efficient here
|
||||
self.variables[index] = def.expr_var;
|
||||
}
|
||||
_ => {
|
||||
self.declarations[index] = DeclarationTag::Value;
|
||||
self.expressions[index] = def.loc_expr;
|
||||
|
||||
// TODO investigate whether this matters, and if we can be more efficient here
|
||||
self.variables[index] = def.expr_var;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue