Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-gaffney committed Sep 6, 2023
1 parent 5711de4 commit 739421c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions sloth/src/analysis/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -148,7 +152,6 @@ impl Populator {
typ: Type::Function {
inputs,
output: output.into(),

},
id: self.reserve_id(),
mutable: true,
Expand Down

0 comments on commit 739421c

Please sign in to comment.