fix typo in name of initial ast file

`inital_ast.json` --> `initial_ast.json`
This commit is contained in:
Eric McCarthy 2021-07-11 21:29:50 -07:00 committed by GitHub
parent 1e87368b03
commit a8840d5264
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.