uint20 is not a type

This commit is contained in:
Denton Liu
2016-06-01 13:59:45 -04:00
parent 1f19b93836
commit 4a2c8fa9b7
+2 -2
View File
@@ -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::