diff options
author | Sebastien Arbogast <sebastien.arbogast@gmail.com> | 2017-01-21 04:52:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-21 04:52:36 +0800 |
commit | 0897e7bceccf6e83def1f9bd0084bbfb214b7904 (patch) | |
tree | 8578ebdf6fc3554ba6daf79a5f851957cbf9543a /docs/control-structures.rst | |
parent | 12b002b3b8575539f332c30691e880bcc2fac5bc (diff) | |
download | dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.gz dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.tar.zst dexon-solidity-0897e7bceccf6e83def1f9bd0084bbfb214b7904.zip |
Fixed typo on contract instance
Fixed the name of the variable referencing a contract instance
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 6c0b0f27..532dab0c 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -104,7 +104,7 @@ contract can be called internally. External Function Calls ----------------------- -The expressions ``this.g(8);`` and ``c.g(2);`` (where ``g`` is a contract +The expressions ``this.g(8);`` and ``c.g(2);`` (where ``c`` is a contract instance) are also valid function calls, but this time, the function will be called "externally", via a message call and not directly via jumps. Please note that function calls on ``this`` cannot be used in the constructor, as the |