1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

update before and after folding

This commit is contained in:
schaeff 2021-09-13 15:54:12 +02:00
parent 187a1e834b
commit c1155888c2

View file

@ -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(