When a function called from within another function should return uint256
but it returns nothing, the caller is terminated without raise
#1383
Labels
bug
Bug that shouldn't change language semantics when fixed.
Version Information
vyper --version
): <= 0.1.0-beta9python --version
): 3.6.7pip freeze
):What's your issue about?
Take the example contract:
Calling
y()
succeeds without failing.What I'd expect is either a fail at compile time (because x() can return improper type), or a runtime failure when calling
self.x(0)
. And I certainly wouldn't expecty()
to silently terminate whenself.x
call failed: it should raiseThe text was updated successfully, but these errors were encountered: