diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-17 17:24:18 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-19 07:05:05 +0800 |
commit | cffe52d6d9e23e537c710107292a2058caa3784f (patch) | |
tree | 3f5d5927f22295c0366edfcdc4f197be1d1ce033 /docs/control-structures.rst | |
parent | 01fbc636239f78134b37f9dedeacf40455ee2e0c (diff) | |
download | dexon-solidity-cffe52d6d9e23e537c710107292a2058caa3784f.tar.gz dexon-solidity-cffe52d6d9e23e537c710107292a2058caa3784f.tar.zst dexon-solidity-cffe52d6d9e23e537c710107292a2058caa3784f.zip |
Enable more examples in the documentation for testing
Diffstat (limited to 'docs/control-structures.rst')
-rw-r--r-- | docs/control-structures.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/control-structures.rst b/docs/control-structures.rst index 8d7c78a2..128e6fae 100644 --- a/docs/control-structures.rst +++ b/docs/control-structures.rst @@ -128,7 +128,6 @@ the gas can be specified with special options ``.value()`` and ``.gas()``, respe function info() payable returns (uint ret) { return 42; } } - contract Consumer { InfoFeed feed; function setFeed(address addr) { feed = InfoFeed(addr); } @@ -231,7 +230,6 @@ creation-dependencies are not possible. } } - contract C { D d = new D(4); // will be executed as part of C's constructor |