-
This may be an issue with Solidity v0.8.1 in particular.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I can confirm that 0.8.4 has the same issues as well. This makes sense since the assembly instructions for ethereum don't change and they do shadow these functions. To the best of my knowledge you are free to ignore them as of now, the warnings just make it annoying to see real warnings. |
Beta Was this translation helpful? Give feedback.
-
I wonder if Solidity v0.8.5 solves this .. as per the release changelog:
As far as I know, top-level functions cannot be accessed from within yul. |
Beta Was this translation helpful? Give feedback.
-
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.
The changelog entry from 0.8.5 was about a slightly different situation. This one was listed in 0.8.2 release notes:
|
Beta Was this translation helpful? Give feedback.
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.
The changelog entry from 0.8.5 was about a slightly different situation. This one was listed in 0.8.2 release notes: