Skip to content

What to do with the compiler warnings? #35

Closed Answered by cameel
PaulRBerg asked this question in Q&A
Discussion options

You must be logged in to vote

These warnings were suppressed in 0.8.2: ethereum/solidity#10971. They were not adding any value because, while these things are indeed shadowed, you can't really call them from inline assembly so no point warning about it.

I wonder if Solidity v0.8.5 solves this

The changelog entry from 0.8.5 was about a slightly different situation. This one was listed in 0.8.2 release notes:

Inline Assembly: Do not warn anymore about variables or functions being shadowed by EVM opcodes.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@PaulRBerg
Comment options

PaulRBerg Jun 4, 2021
Maintainer Author

@AlbertSu123
Comment options

@cameel
Comment options

@PaulRBerg
Comment options

PaulRBerg Feb 4, 2022
Maintainer Author

@cameel
Comment options

Comment options

PaulRBerg
Jun 12, 2021
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants