Skip to content

Commit

Permalink
🐛 version 0.7.6
Browse files Browse the repository at this point in the history
specify recursive_guard as kwarg in FutureRef._evaluate
  • Loading branch information
RF-Tar-Railt committed Jul 19, 2024
1 parent 04777a8 commit aa6f70d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nepattern/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def match(self, input_: Any):
if sys.version_info < (3, 9): # pragma: no cover
origin = self.ref._evaluate(_main.__dict__, _main.__dict__)
else: # pragma: no cover
origin = self.ref._evaluate(_main.__dict__, _main.__dict__, frozenset()) # type: ignore
origin = self.ref._evaluate(_main.__dict__, _main.__dict__, recursive_guard=frozenset()) # type: ignore
if not isinstance(input_, origin): # type: ignore
raise MatchFailed(
lang.require("nepattern", "type_error").format(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nepattern"
version = "0.7.5"
version = "0.7.6"
description = "a complex pattern, support typing"
authors = [
{name = "RF-Tar-Railt", email = "[email protected]"},
Expand Down

0 comments on commit aa6f70d

Please sign in to comment.