Skip to content

Commit

Permalink
self_vvar and other_vvar can be None.
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfish committed Sep 13, 2024
1 parent f15007b commit 8e2b5a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ailment/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ def matches(self, atom) -> bool:
if src not in other_src_and_vvars:
return False
other_vvar = other_src_and_vvars[src]
if self_vvar is None and other_vvar is None:
continue
if (
self_vvar is None
and other_vvar is not None
Expand Down

0 comments on commit 8e2b5a5

Please sign in to comment.