Merge pull request #1650 from AleoHQ/fix/ast-file-spelling

Fix ast file spelling
This commit is contained in:
Collin Chin 2022-03-02 12:48:04 -08:00 committed by GitHub
commit f2c4d8d078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ impl<'a> Compiler<'a> {
program_string,
)?;
// Write the AST snapshot post parsing.
ast.to_json_file_without_keys(self.output_directory.clone(), "inital_ast.json", &["span"])?;
ast.to_json_file_without_keys(self.output_directory.clone(), "initial_ast.json", &["span"])?;
// Canonicalize the AST.
ast = leo_ast_passes::Canonicalizer::do_pass(Default::default(), ast.into_repr())?;