mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
docs: Hexadecimal string literals behave like string literals only in some aspects
This commit is contained in:
parent
e1a9446f87
commit
8f63bb646c
@ -588,7 +588,8 @@ of the hexadecimal sequence.
|
||||
Multiple hexadecimal literals separated by whitespace are concatenated into a single literal:
|
||||
``hex"00112233" hex"44556677"`` is equivalent to ``hex"0011223344556677"``
|
||||
|
||||
Hexadecimal literals behave like :ref:`string literals <string_literals>` and have the same convertibility restrictions.
|
||||
Hexadecimal literals in some ways behave like :ref:`string literals <string_literals>` but are not
|
||||
implicitly convertible to the ``string`` type.
|
||||
|
||||
.. index:: enum
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user