ethereum / solidity

Solidity, the Smart Contract Programming Language
https://soliditylang.org
GNU General Public License v3.0
22.64k stars 5.61k forks source link

Add missing checks to forbid codegen working with transient storage variables #15217

Closed matheusaaguiar closed 3 days ago

matheusaaguiar commented 4 days ago

Unfortunately, this was missed on #15001. I think this will cover every path leading to codegen.

cameel commented 4 days ago

We still need some tests here that will show that now the paths are properly blocked.

Like, some simple semantic tests that did pass on top of your previous PR.