diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-06 20:59:37 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-13 20:27:01 +0800 |
commit | 7d7abeb1496dddfab7eb8705dbfc3d06284cf25d (patch) | |
tree | 2909fe73439256e0f77231ec219b1b9af6fefd5a /docs/types.rst | |
parent | 43db88b8363d73ee2f5ffa094ff506414261bd11 (diff) | |
download | dexon-solidity-7d7abeb1496dddfab7eb8705dbfc3d06284cf25d.tar.gz dexon-solidity-7d7abeb1496dddfab7eb8705dbfc3d06284cf25d.tar.zst dexon-solidity-7d7abeb1496dddfab7eb8705dbfc3d06284cf25d.zip |
Disallow ambiguous conversions between number literals and bytesXX types.
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index bcd3ce9c..5b726cb8 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -773,7 +773,7 @@ Members // but can be treated identical to "uint8[]" m_byteData = data; m_byteData.length += 7; - m_byteData[3] = byte(8); + m_byteData[3] = 0x08; delete m_byteData[2]; } |