aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-08-16 05:30:09 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-09-04 19:31:10 +0800
commit82f512a7d40a3bd6a13dd799be66dd164fded077 (patch)
treefd9f01adf77c0abd676a13d1c2e1c60d8f20ce1a /test/libsolidity/syntaxTests/nameAndTypeResolution
parentf27d7edfd605ac04e04eafded93a9a4e81f20122 (diff)
downloaddexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar
dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.gz
dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.bz2
dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.lz
dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.xz
dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.tar.zst
dexon-solidity-82f512a7d40a3bd6a13dd799be66dd164fded077.zip
Add return data to bare calls.
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol
index 9c42bc8f..b63d2a55 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/413_address_methods.sol
@@ -2,11 +2,11 @@ contract C {
function f() public {
address addr;
uint balance = addr.balance;
- bool callRet = addr.call("");
- bool delegatecallRet = addr.delegatecall("");
+ (bool callSuc,) = addr.call("");
+ (bool delegatecallSuc,) = addr.delegatecall("");
bool sendRet = addr.send(1);
addr.transfer(1);
- balance; callRet; delegatecallRet; sendRet;
+ balance; callSuc; delegatecallSuc; sendRet;
}
}
// ----