mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
avoid reassigning variables
This commit is contained in:
parent
16f8187166
commit
a4310fec55
@ -254,9 +254,9 @@ We will use a destructuring notation for the AST nodes.
|
||||
let G0, L0, v = E(G, L, condition)
|
||||
// i = 1 .. n
|
||||
// Evaluate literals, context doesn't matter
|
||||
let G0, L0, v1 = E(G0, L0, l1)
|
||||
let _, _, v1 = E(G0, L0, l1)
|
||||
...
|
||||
let G0, L0, vn = E(G0, L0, ln)
|
||||
let _, _, vn = E(G0, L0, ln)
|
||||
if there exists smallest i such that vi = v:
|
||||
E(G0, L0, sti)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user