mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change phrase in type deduction
updated phrase in type deduction from "any value of this type" to "the highest value of this type"
This commit is contained in:
parent
58e452d14d
commit
15427dc8d3
@ -990,6 +990,6 @@ parameters or return parameters.
|
||||
.. warning::
|
||||
The type is only deduced from the first assignment, so
|
||||
the loop in the following snippet is infinite, as ``i`` will have the type
|
||||
``uint8`` and any value of this type is smaller than ``2000``.
|
||||
``uint8`` and the highest value of this type is smaller than ``2000``.
|
||||
``for (var i = 0; i < 2000; i++) { ... }``
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user