Removing debug code from test-framework

This commit is contained in:
Pranav Gaddamadugu 2021-09-29 08:03:38 -07:00
parent cf1d10e057
commit fd4b1ef598

View File

@ -128,8 +128,6 @@ fn generate_asts(src_path: PathBuf, target_path: PathBuf, text: &str) -> Result<
let mut ast = leo_parser::parse_ast(src_path.clone().into_os_string().into_string().unwrap(), text)?; let mut ast = leo_parser::parse_ast(src_path.clone().into_os_string().into_string().unwrap(), text)?;
ast.to_json_file(target_path.clone(), "initial_ast_with_span.json")?;
ast.to_json_file_without_keys(target_path.clone(), "initial_ast.json", &["span"])?; ast.to_json_file_without_keys(target_path.clone(), "initial_ast.json", &["span"])?;
ast = leo_ast_passes::Importer::do_pass(ast.into_repr(), &mut ImportParser::new(src_path, Default::default()))?; ast = leo_ast_passes::Importer::do_pass(ast.into_repr(), &mut ImportParser::new(src_path, Default::default()))?;