The Wayback Machine - https://web.archive.org/web/20221007152641/https://github.com/ethereum/solidity/issues/13144
Skip to content
New issue

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

[Docs] Incorrect example in Operators section of Types #13144

Closed
sourabhxyz opened this issue Jun 15, 2022 · 0 comments · Fixed by #13255
Closed

[Docs] Incorrect example in Operators section of Types #13144

sourabhxyz opened this issue Jun 15, 2022 · 0 comments · Fixed by #13255

Comments

@sourabhxyz
Copy link
Contributor

sourabhxyz commented Jun 15, 2022

Page

https://docs.soliditylang.org/en/v0.8.14/types.html#operators

Abstract

Given example is incorrect as it doesn't compile. uint8 doesn't implicitly convert to int32.

Pull request

Can make type of z to be uint32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment