From cffe52d6d9e23e537c710107292a2058caa3784f Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 17 Jul 2017 11:24:18 +0200 Subject: Enable more examples in the documentation for testing --- docs/control-structures.rst | 2 -- 1 file changed, 2 deletions(-) (limited to 'docs/control-structures.rst') 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 -- cgit