diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-09-06 12:00:52 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-09-06 12:00:52 -0500 |
| commit | 739421c86f5fabfef5c765beea7741a7409976d7 (patch) | |
| tree | e5f48629bbea9f49f14aab4eeb97cae8a7550817 | |
| parent | 5711de4f146b543e08bb154c69d5b495a9dcd692 (diff) | |
| download | sloth-739421c86f5fabfef5c765beea7741a7409976d7.tar.gz | |
fmt
| -rw-r--r-- | sloth/src/analysis/setup.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sloth/src/analysis/setup.rs b/sloth/src/analysis/setup.rs index 522d757..faf10f1 100644 --- a/sloth/src/analysis/setup.rs +++ b/sloth/src/analysis/setup.rs @@ -71,8 +71,12 @@ impl Populator { let mut body_table = body.symtable.clone(); for input in inputs { - let symbol = - self.build_value_symbol(node.line(), &body_table, &input.typ, true)?; + let symbol = self.build_value_symbol( + node.line(), + &body_table, + &input.typ, + true, + )?; body_table.insert(input.identifier.to_owned(), symbol); } } @@ -148,7 +152,6 @@ impl Populator { typ: Type::Function { inputs, output: output.into(), - }, id: self.reserve_id(), mutable: true, |
