Skip to content

Panic on expected interface method implemented as internal. #4169

@AlbertoCentonze

Description

@AlbertoCentonze

Version Information

  • vyper Version: 0.4.1+commit.f92ef414a

What's your issue about?

Given an interface file foo.vyi

@external
def bar():
    ...

if the interface is imported and implemented in a module:

import foo

implements: foo


# !!!! here we don't add the external modifier
def bar():
    pass

Not using the external modifier makes the compiler panic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug - UXa bug related to UXbug - type 0compiler halts or panics instead of generating codebug - typecheckerissue with typechecker

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions