aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/memberLookup
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-16 23:28:49 +0800
committerchriseth <chris@ethereum.org>2018-09-04 00:35:57 +0800
commit431c2fbcf370926d6c3e7e93667d8472f2f6b73b (patch)
treece2e41de6ad496729b62a493057e72a2413ad215 /test/libsolidity/syntaxTests/memberLookup
parent75a92b0ffd0946c17a27a58e6e02abe96cd3fa00 (diff)
downloaddexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.tar
dexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.tar.gz
dexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.tar.bz2
dexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.tar.lz
dexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.tar.xz
dexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.tar.zst
dexon-solidity-431c2fbcf370926d6c3e7e93667d8472f2f6b73b.zip
Turn warning into error.
Diffstat (limited to 'test/libsolidity/syntaxTests/memberLookup')
-rw-r--r--test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol b/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol
index 49a3139c..8430c5c3 100644
--- a/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol
+++ b/test/libsolidity/syntaxTests/memberLookup/msg_value_modifier_view.sol
@@ -3,4 +3,4 @@ contract C {
function f() costs(1 ether) public view {}
}
// ----
-// Warning: (101-115): This modifier uses "msg.value" and thus the function should be payable.
+// TypeError: (101-115): This modifier uses "msg.value" and thus the function has to be payable or internal.