Skip to content

Commit

Permalink
try clearing constants dict in namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Oct 27, 2023
1 parent 97f4053 commit 1e79d4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vyper/semantics/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def update(self, other):

def clear(self):
super().clear()
self._constants.clear()
self.__init__()

def validate_assignment(self, attr):
Expand Down

0 comments on commit 1e79d4e

Please sign in to comment.