aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-07-17 20:31:21 +0800
committerLeonardo Alt <leo@ethereum.org>2018-07-17 23:38:36 +0800
commit563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c (patch)
tree6578ae4b01519a6a345f93f5b6753e4160fa90be /test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol
parent0075f4239aca8c82cf110dc46ed333fdcd6dd572 (diff)
downloaddexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.tar
dexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.tar.gz
dexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.tar.bz2
dexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.tar.lz
dexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.tar.xz
dexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.tar.zst
dexon-solidity-563e0fc9a71be8beccc9aa0e3d0ba230ee3ddc0c.zip
Add suggestion to error message
Diffstat (limited to 'test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol')
-rw-r--r--test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol b/test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol
index a18669d5..16da7578 100644
--- a/test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol
+++ b/test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
-// TypeError: (52-61): Member "call" not found or not visible after argument-dependent lookup in contract C
+// TypeError: (52-61): Member "call" not found or not visible after argument-dependent lookup in contract C. Use "address(this).call" to access this address member.