Fix tests regarding contract type conversion.

This commit is contained in:
chriseth
2018-08-01 11:04:35 +01:00
committed by Alex Beregszaszi
parent c8232d9759
commit b800bfb021
18 changed files with 37 additions and 36 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ In this example::
}
contract A {
address child;
B child;
function test() public {
child = (new B).value(10)(); //construct a new B with 10 wei
+1 -1
View File
@@ -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));
}
}