support multidef
This commit is contained in:
parent
e028f7b006
commit
43b7457ec9
2 changed files with 2 additions and 3 deletions
|
@ -299,8 +299,7 @@ impl<'ast, 'a, T: Field> ResultFolder<'ast, T> for Reducer<'ast, 'a, T> {
|
|||
.map(|a| self.fold_expression(a))
|
||||
.collect::<Result<_, _>>()?;
|
||||
|
||||
unimplemented!("multi def needs to be put in blocks");
|
||||
|
||||
// multidef inlined calls do not need to be put into a block, because they are always executed
|
||||
match inline_call(
|
||||
key,
|
||||
generics,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::zir::identifier::Identifier;
|
||||
use crate::zir::types::UBitwidth;
|
||||
use crate::zir::{BooleanExpression, ZirStatement};
|
||||
use crate::zir::BooleanExpression;
|
||||
use zokrates_field::Field;
|
||||
|
||||
impl<'ast, T: Field> UExpression<'ast, T> {
|
||||
|
|
Loading…
Reference in a new issue