remove print, fix test
This commit is contained in:
parent
40b5891323
commit
b677374e7c
2 changed files with 5 additions and 6 deletions
|
@ -206,8 +206,6 @@ pub fn compile<'ast, T: Field, E: Into<imports::Error>>(
|
|||
let (typed_ast, abi): (zokrates_ast::zir::ZirProgram<'_, T>, _) =
|
||||
check_with_arena(source, location, resolver, &config, arena)?;
|
||||
|
||||
println!("{}", typed_ast);
|
||||
|
||||
// flatten input program
|
||||
log::debug!("Flatten");
|
||||
let program_flattened = from_function_and_config(typed_ast.main, config);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
const u32 N = 2
|
||||
const (field[N], bool) A = ([1; N], true)
|
||||
const u32 N = 2;
|
||||
const (field[N], bool) A = ([1; N], true);
|
||||
|
||||
def main() -> ((field[N], bool)):
|
||||
return A
|
||||
def main() -> ((field[N], bool)) {
|
||||
return A;
|
||||
}
|
Loading…
Reference in a new issue