You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kind of borrowed from python ABCs, but I've always kind of liked that you just need some AST node that fits under an interface for @abstractmethod to work. This is nice in Python because docstrings "flow" through the inheritance heirarchy, so if you don't override the docstring on a subclass then you get a docstring "for free". I know that vyper doesn't support this rn (it could in the future), but anyways it's just a little bit annoying to mandate ... when you have a docstring and if possible it would be nice if I didn't have to
FunctionDeclarationException: function body in an interface can only be `...`!
The text was updated successfully, but these errors were encountered:
Kind of borrowed from python ABCs, but I've always kind of liked that you just need some AST node that fits under an interface for
@abstractmethod
to work. This is nice in Python because docstrings "flow" through the inheritance heirarchy, so if you don't override the docstring on a subclass then you get a docstring "for free". I know that vyper doesn't support this rn (it could in the future), but anyways it's just a little bit annoying to mandate...
when you have a docstring and if possible it would be nice if I didn't have toThe text was updated successfully, but these errors were encountered: