mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Simplify length rule.
This commit is contained in:
parent
87f744ae5e
commit
f610ba77a4
@ -180,8 +180,8 @@ Address Literals
|
|||||||
|
|
||||||
Hexadecimal literals that pass the address checksum test, for example
|
Hexadecimal literals that pass the address checksum test, for example
|
||||||
``0xdCad3a6d3569DF655070DEd06cb7A1b2Ccd1D3AF`` are of ``address`` type.
|
``0xdCad3a6d3569DF655070DEd06cb7A1b2Ccd1D3AF`` are of ``address`` type.
|
||||||
Hexadecimal literals that are 20 bytes long (differ from that in at
|
Hexadecimal literals that are between 39 and 41 digits
|
||||||
most one hexadecimal digit) but do not pass the checksum test produce
|
long and do not pass the checksum test produce
|
||||||
a warning and are treated as regular rational number literals.
|
a warning and are treated as regular rational number literals.
|
||||||
|
|
||||||
.. index:: literal, literal;rational
|
.. index:: literal, literal;rational
|
||||||
|
Loading…
Reference in New Issue
Block a user