Merge pull request #3213 from chuacw/patch-1

Change phrase in type deduction
This commit is contained in:
Alex Beregszaszi 2017-11-16 16:44:23 +00:00 committed by GitHub
commit 2927ce0bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++) { ... }``