-
-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[lang]: fix
.vyi
function body check (#4177)
previously the validation for function bodies in interfaces incorrectly allowed other types of expressions with the `.value` member, e.g. ```vyper @external def some_interface_function(): return ... ``` although the body should only be allowed to be an ellipsis expr (`...`). this commit correctly rejects the above source code
- Loading branch information
1 parent
9e51684
commit 99304da
Showing
2 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters