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

remove print, fix test

This commit is contained in:
schaeff 2022-06-23 11:02:01 +02:00
parent 40b5891323
commit b677374e7c
2 changed files with 5 additions and 6 deletions

View file

@ -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);

View file

@ -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;
}