mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tests after making all explicit address conversions as non-payable
This commit is contained in:
@@ -10,7 +10,7 @@ contract Main {
|
||||
|
||||
function s() public returns (bool) {
|
||||
Receiver r = new Receiver();
|
||||
return address(r).send(0);
|
||||
return payable(r).send(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user