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
if there is a single return that not uint256, for example return(0), the contract function never returns uint256.
return(0)
In the example below, since there is a single return(0) where uint256 was forgotten, the function never returns uint256 even when x is 2,3,4...
uint256
if x==1: return(0) if x==2: return(-1:uint256) if x==3: return(-1:uint256) if x==4: return(-1:uint256)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if there is a single return that not uint256, for example
return(0)
, the contract function never returns uint256.In the example below, since there is a single
return(0)
whereuint256
was forgotten, the function never returns uint256 even when x is 2,3,4...The text was updated successfully, but these errors were encountered: