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

implements directive doesn't enforce all declared properties from vyi files #4335

Open
cyberthirst opened this issue Oct 27, 2024 · 0 comments
Labels
bug - UX a bug related to UX enhancement

Comments

@cyberthirst
Copy link
Collaborator

Version Information

  • vyper Version (output of vyper --version): 063f190

What's your issue about?

following compiles

# main.vy
import ITest

implements: ITest

@external
@view
def c() -> uint256:
    return 1

# ITest.vyi
c: public(constant(uint256)) = 32

also, as mentioned in: #3978 (comment), the interface can declare a var in transient, and it can end up being implemented as a regular function

@cyberthirst cyberthirst added the needs triage needs triage label Oct 27, 2024
@charles-cooper charles-cooper added enhancement bug - UX a bug related to UX and removed needs triage needs triage labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - UX a bug related to UX enhancement
Projects
None yet
Development

No branches or pull requests

2 participants