update before and after folding
This commit is contained in:
parent
187a1e834b
commit
c1155888c2
1 changed files with 3 additions and 1 deletions
|
@ -126,7 +126,9 @@ impl<'ast, T: Field> ResultFolder<'ast, T> for ConstantsBuilder<'ast, T> {
|
|||
// before we treat a symbol, propagate the constants into it
|
||||
let s = self.update_symbol_declaration(s);
|
||||
|
||||
fold_symbol_declaration(self, s)
|
||||
let s = fold_symbol_declaration(self, s)?;
|
||||
|
||||
Ok(self.update_symbol_declaration(s))
|
||||
}
|
||||
|
||||
fn fold_constant_symbol_declaration(
|
||||
|
|
Loading…
Reference in a new issue