mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix formatting in "Implicit Conversions"
This commit is contained in:
parent
1a949e5323
commit
17b0289696
@ -28,7 +28,7 @@ In the example below, ``y`` and ``z``, the operands of the addition,
|
|||||||
do not have the same type, but ``uint8`` can
|
do not have the same type, but ``uint8`` can
|
||||||
be implicitly converted to ``uint16`` and not vice-versa. Because of that,
|
be implicitly converted to ``uint16`` and not vice-versa. Because of that,
|
||||||
``y`` is converted to the type of ``z`` before the addition is performed
|
``y`` is converted to the type of ``z`` before the addition is performed
|
||||||
in the ``uint16`` type. The resulting type of the expression ``y + z`` is ``uint16`.
|
in the ``uint16`` type. The resulting type of the expression ``y + z`` is ``uint16``.
|
||||||
Because it is assigned to a variable of type ``uint32`` another implicit conversion
|
Because it is assigned to a variable of type ``uint32`` another implicit conversion
|
||||||
is performed after the addition.
|
is performed after the addition.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user