Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 1, 2023
1 parent 63933d8 commit 322596a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/parser/syntax/utils/test_function_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ def wei(i: int128) -> int128:
temp_var : int128 = i
return temp_var1
""",
# collision between getter and external function
"""
foo: public(uint256)
@external
def foo():
pass
""",
# collision between getter and external function, reverse order
"""
@external
def foo():
Expand Down

0 comments on commit 322596a

Please sign in to comment.