Skip to content

Commit

Permalink
fix: leave a note about visit_Attribute in annotation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
skellet0r committed Aug 14, 2021
1 parent 55e5f7f commit 531296e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vyper/semantics/validation/annotation.py
Expand Up @@ -55,6 +55,8 @@ def visit(self, node):
super().visit(node)

def visit_Attribute(self, node):
# NOTE: required for msg.data node, removing borks and results in
# vyper.exceptions.StructureException: Cannot annotate: Attribute
pass

def visit_AnnAssign(self, node):
Expand Down

0 comments on commit 531296e

Please sign in to comment.