Enable more examples in the documentation for testing

This commit is contained in:
Alex Beregszaszi
2017-07-19 00:05:05 +01:00
parent 01fbc63623
commit cffe52d6d9
6 changed files with 46 additions and 28 deletions
-2
View File
@@ -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