diff options
author | Denton Liu <liu.denton+github@gmail.com> | 2016-05-31 01:36:14 +0800 |
---|---|---|
committer | Denton Liu <liu.denton+github@gmail.com> | 2016-06-02 01:59:45 +0800 |
commit | 4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f (patch) | |
tree | 32b4b70424d6a463a33673ec3db9a4e64a6d5f49 /docs | |
parent | 1f19b938366364acb7b628dbefa9af9249bf936d (diff) | |
download | dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.tar dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.tar.gz dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.tar.bz2 dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.tar.lz dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.tar.xz dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.tar.zst dexon-solidity-4a2c8fa9b79c39ddb9918e435c4941c324a4ac4f.zip |
uint20 is not a type
Diffstat (limited to 'docs')
-rw-r--r-- | docs/types.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/types.rst b/docs/types.rst index 6d4e928c..99fb7a3c 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -624,10 +624,10 @@ For convenience, it is not always necessary to explicitly specify the type of a variable, the compiler automatically infers it from the type of the first expression that is assigned to the variable:: - uint20 x = 0x123; + uint24 x = 0x123; var y = x; -Here, the type of ``y`` will be ``uint20``. Using ``var`` is not possible for function +Here, the type of ``y`` will be ``uint24``. Using ``var`` is not possible for function parameters or return parameters. .. warning:: |