From e7a46127c32c993cc55b837492a75563e4259d1e Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Sat, 6 Jan 2024 08:40:41 -0500 Subject: [PATCH] revert a change --- vyper/semantics/analysis/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vyper/semantics/analysis/module.py b/vyper/semantics/analysis/module.py index 92b9186412..8e435f870f 100644 --- a/vyper/semantics/analysis/module.py +++ b/vyper/semantics/analysis/module.py @@ -485,13 +485,13 @@ def _load_import_helper( def _parse_and_fold_ast(file: FileInput) -> vy_ast.VyperNode: - ast = vy_ast.parse_to_ast( + ret = vy_ast.parse_to_ast( file.source_code, source_id=file.source_id, module_path=str(file.path), resolved_path=str(file.resolved_path), ) - return ast + return ret # convert an import to a path (without suffix)