Closed dddejan closed 4 years ago
pragma solidity >=0.5.0; contract A { uint constant C = 1; function f(address a) public { a.call(""); } }
Currently does
$ solc-verify.py issue.sol --output . Error while running verifier, details: Parsing ./issue.sol.bpl ./issue.sol.bpl(41,7): Error: undeclared identifier: C#4 1 name resolution errors detected in ./issue.sol.bpl
becuase the call hovocs the state (including constant)
call __call_ret#0, __call_ret#1 := __call(a#6, __this, 0); if (__call_ret#0) { havoc C#4; havoc __balance; }
Fixed in d32cf77
Currently does
becuase the call hovocs the state (including constant)