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

external interface export is missing type definitions #4396

Open
cyberthirst opened this issue Dec 13, 2024 · 2 comments
Open

external interface export is missing type definitions #4396

cyberthirst opened this issue Dec 13, 2024 · 2 comments
Labels
bug - integration a bug affecting downstream tooling

Comments

@cyberthirst
Copy link
Collaborator

Version Information

  • vyper Version (output of vyper --version): 0.4.1b2+commit.5ff57c53a

What's your issue about?

struct S:
    u: uint256

@external
@view
def foo(a:uint256=10) -> S:
    ...

with -f external_interface

# External Interfaces
interface Ifile:
    def foo(a: uint256) -> S: view

ie we are missing the struct definition

How can it be fixed?

Fill this in if you know how to fix it.

@cyberthirst cyberthirst added the needs triage needs triage label Dec 13, 2024
@charles-cooper charles-cooper added bug - integration a bug affecting downstream tooling and removed needs triage needs triage labels Dec 13, 2024
@cyberthirst
Copy link
Collaborator Author

originally reported in #4290 (comment)

@cyberthirst
Copy link
Collaborator Author

verify the repr also for other types, not just structs (flags, interfaces,..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug - integration a bug affecting downstream tooling
Projects
None yet
Development

No branches or pull requests

2 participants