Closed zhfnjust closed 2 years ago
pragma solidity ^0.8.10; contract SimpleStorage { uint storedData; function foo2() public { storedData++; return ; storedData++; } }
contract SimpleStorage { @state int storedData; function foo2() : bool { this.storedData++; this.storedData++; return true; } }
change foo2 to external