Fix shadowing error for inline assembly.

This commit is contained in:
chriseth
2021-08-17 12:12:56 +02:00
parent 838514a718
commit aeb2438eab
25 changed files with 67 additions and 56 deletions
@@ -12,7 +12,7 @@ contract C {
assembly { for {} 1 { pop(sload(0)) } { } pop(gas()) }
}
function h() view public {
assembly { function g() { pop(blockhash(20)) } }
assembly { function g1() { pop(blockhash(20)) } }
}
function i() public {
assembly { pop(call(0, 1, 2, 3, 4, 5, 6)) }