diff options
author | chriseth <chris@ethereum.org> | 2018-08-13 23:25:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 23:25:30 +0800 |
commit | ae8218543b91a98663ab98de3200a0eec2bfebe3 (patch) | |
tree | 142f8a34907ad0ebd79abfb18dedaac1fa4aa58c /docs/types.rst | |
parent | 463f4b0f35a9eb930a4cce164135d726c091c50e (diff) | |
parent | 7d7abeb1496dddfab7eb8705dbfc3d06284cf25d (diff) | |
download | dexon-solidity-ae8218543b91a98663ab98de3200a0eec2bfebe3.tar.gz dexon-solidity-ae8218543b91a98663ab98de3200a0eec2bfebe3.tar.zst dexon-solidity-ae8218543b91a98663ab98de3200a0eec2bfebe3.zip |
Merge pull request #4696 from ethereum/byteLiteralConversion
Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
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 5efb24e3..7e222bc1 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -786,7 +786,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]; } |