Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunctionDef inside interfaces can be decorated #3248

Closed
trocher opened this issue Jan 23, 2023 · 0 comments · Fixed by #3266
Closed

FunctionDef inside interfaces can be decorated #3248

trocher opened this issue Jan 23, 2023 · 0 comments · Fixed by #3266

Comments

@trocher
Copy link
Contributor

trocher commented Jan 23, 2023

Version Information

  • vyper Version (output of vyper --version): 0.3.8+commit.02339dfd
  • OS: OSX
  • Python Version (output of python --version): 3.8.0

What's your issue about?

FunctionDef inside interfaces can be decorated. For example, the following contract compiles.

interface A:
    @external
    @nonreentrant("key")
    @pure
    def foo(): nonpayable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant