aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-11-09 21:13:57 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-11-12 00:48:03 +0800
commiteffca182507bb736c8f52b167bae470c06dc6c36 (patch)
tree78f053d976ef47a6fc5fc9f3503a971901890544 /docs
parenteee629652e3ee851419805ad1cb54d168fa77763 (diff)
downloaddexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.tar
dexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.tar.gz
dexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.tar.bz2
dexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.tar.lz
dexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.tar.xz
dexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.tar.zst
dexon-solidity-effca182507bb736c8f52b167bae470c06dc6c36.zip
docs: udpate description of enums about #1334
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 9e7d9b4a..9ec9e526 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -237,7 +237,8 @@ Enums
=====
Enums are one way to create a user-defined type in Solidity. They are explicitly convertible
-to and from all integer types but implicit conversion is not allowed.
+to and from all integer types but implicit conversion is not allowed. The explicit conversions
+check the value ranges at runtime and a failure causes an exception. Enums needs at least one member.
::