aboutsummaryrefslogtreecommitdiffstats
path: root/docs/types.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-07-13 02:07:16 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-08-01 18:04:35 +0800
commitb800bfb02138f843538bca55a40d6a4e0d1be60f (patch)
tree4d0162665f6f185e368e0831359d336e8251e438 /docs/types.rst
parentc8232d9759458d5f6e1442533457d8529686eea7 (diff)
downloaddexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.gz
dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.tar.zst
dexon-solidity-b800bfb02138f843538bca55a40d6a4e0d1be60f.zip
Fix tests regarding contract type conversion.
Diffstat (limited to 'docs/types.rst')
-rw-r--r--docs/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 3aad413d..566c4c19 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -901,7 +901,7 @@ for each ``_KeyType``, recursively.
function f() public returns (uint) {
MappingExample m = new MappingExample();
m.update(100);
- return m.balances(this);
+ return m.balances(address(this));
}
}