We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vyper --version
python --version
This file compiles fine with vyper, but fails if you try to load it with boa.
vyper
boa
@external def bug() -> uint256: x: uint256 = 392 y: uint256 = 19 return shift(x, y)
The docs for shift list the following type: shift(x: uint256, _shift: int128) → uint256
shift
shift(x: uint256, _shift: int128) → uint256
The implementation is different again, allowing any integer type (whereas boa complains for non-int128).
Decide on the semantics and make vyper, boa, and the docs consistent.
The text was updated successfully, but these errors were encountered:
closing as this was an issue with boa's vyper pin being out of date. also, shift() is deprecated as of #3019
shift()
Sorry, something went wrong.
No branches or pull requests
Version Information
vyper --version
): 0.3.8+commit.8ebabc5cpython --version
): Python 3.10.9What's your issue about?
This file compiles fine with
vyper
, but fails if you try to load it withboa
.The docs for
shift
list the following type:shift(x: uint256, _shift: int128) → uint256
The implementation is different again, allowing any integer type (whereas boa complains for non-int128).
How can it be fixed?
Decide on the semantics and make vyper, boa, and the docs consistent.
The text was updated successfully, but these errors were encountered: