aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-13 20:05:02 +0800
committerGitHub <noreply@github.com>2017-01-13 20:05:02 +0800
commit60cc1668517f56ce6ca8225555472e7a27eab8b0 (patch)
tree8eac35131efc4beeee921356052375233edd7102 /docs/contracts.rst
parent822622cf5bf23e79a6e2292cb837d1a39ca1c419 (diff)
parente22672b7c739dde9f37a919e63245abda4b1fc89 (diff)
downloaddexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar
dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.gz
dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.bz2
dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.lz
dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.xz
dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.tar.zst
dexon-solidity-60cc1668517f56ce6ca8225555472e7a27eab8b0.zip
Merge pull request #1561 from ethereum/develop
Merge develop into release for 0.4.8
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index e82b7495..edc42c3d 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -877,6 +877,13 @@ cannot be resolved.
A simple rule to remember is to specify the base classes in
the order from "most base-like" to "most derived".
+Inheriting Different Kinds of Members of the Same Name
+======================================================
+
+When the inheritance results in a contract with a function and a modifier of the same name, it is considered as an error.
+This error is produced also by an event and a modifier of the same name, and a function and an event of the same name.
+As an exception, a state variable accessor can override a public function.
+
.. index:: ! contract;abstract, ! abstract contract
******************