Merge pull request #1135 from AleoHQ/fix-typo-inital

fix typo in name of initial ast file
This commit is contained in:
Alessandro Coglio 2021-07-11 23:19:47 -07:00 committed by GitHub
commit a04a76305d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,7 @@ impl<'a, F: PrimeField, G: GroupType<F>> Compiler<'a, F, G> {
let mut ast: leo_ast::Ast = parse_ast(self.main_file_path.to_str().unwrap_or_default(), program_string)?;
if self.proof_options.initial {
ast.to_json_file(self.output_directory.clone(), "inital_ast.json")?;
ast.to_json_file(self.output_directory.clone(), "initial_ast.json")?;
}
// Preform compiler optimization via canonicalizing AST if its enabled.