Closed dddejan closed 5 years ago
contract A { uint constant x = 2; } contract B is A { function f() public pure returns (uint) { return A.x; } }
Returns
solc-verify.py test/libsolidity/syntaxTests/viewPureChecker/access_to_base_member_constant.sol --output . Error while running verifier, details: [TRACE] Using prover: /usr/local/bin/z3 Parsing ./access_to_base_member_constant.sol.bpl ./access_to_base_member_constant.sol.bpl(26,7): Error: undeclared identifier: x#3 1 name resolution errors detected in ./access_to_base_member_constant.sol.bpl
Fixed in 37886f6
Returns