Chim Kan b5d2a4ecd7 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.
2017-08-23 20:25:12 -04:00
2017-08-23 14:24:05 +02:00
2017-08-23 17:37:35 +02:00
2017-08-18 13:32:36 +02:00
2017-08-23 17:37:35 +02:00
2017-05-03 11:26:21 +02:00
2017-08-23 21:11:03 +01:00
2017-05-19 16:05:07 -03:00
2017-08-23 17:37:35 +02:00
2017-08-16 21:20:46 +02:00
2017-08-23 17:25:29 +02:00

The Solidity Contract-Oriented Programming Language

Join the chat at https://gitter.im/ethereum/solidity

To get started you can find an introduction to the language in the Solidity documentation. In the documentation, you can find code examples as well as a reference of the syntax and details on how to write smart contracts.

You can start using Solidity in your browser with no need to download or compile anything.

The changelog for this project can be found here.

Solidity is still under development. So please do not hesitate and open an issue in GitHub if you encounter anything strange.

Building

See the Solidity documentation for build instructions.

How to Contribute

Please see our contribution guidelines in the Solidity documentation.

Any contributions are welcome!

S
Description
Solidity, the Smart Contract Programming Language
Readme
100 MiB
Languages
C++ 54.6%
Solidity 33.8%
Yul 5%
Python 2.7%
Shell 2.4%
Other 1.5%