Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Feb 9, 2024
1 parent 6d69b4d commit ee369cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vyper/semantics/analysis/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,8 @@ def _parse_and_fold_ast(file: FileInput) -> vy_ast.VyperNode:
# try to get a relative path, to simplify the error message
module_path = module_path.relative_to(".")
except ValueError:
# we couldn't get a relative path (cf. docs for Path.relative_to),
# use the resolved path given to us by the InputBundle
pass

ret = vy_ast.parse_to_ast(
Expand Down

0 comments on commit ee369cc

Please sign in to comment.