diff options
Adding storage into the pointer for Voter delegate
Hi,
The example from https://github.com/ethereum/solidity/blob/develop/docs/solidity-by-example.rst is not working.
It keeps giving this error in the Mist program:
Could not compile source code.
Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
Voter delegate = voters[to];
^------------^
The solution is just to add the keyword "storage" and then the example works again.
Diffstat (limited to 'test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationSimple.sol')
0 files changed, 0 insertions, 0 deletions