aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/specialFunctions
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-05-16 17:12:25 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-05-16 17:12:25 +0800
commit221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489 (patch)
tree46b41743c2057f2ea8dd08619337ca1905bd1483 /test/libsolidity/syntaxTests/specialFunctions
parent23adea88fdc7eafc5b67b759b4c2418bd6b93aa6 (diff)
downloaddexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.tar
dexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.tar.gz
dexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.tar.bz2
dexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.tar.lz
dexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.tar.xz
dexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.tar.zst
dexon-solidity-221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489.zip
Split warning for multi arguments for hash functions
Diffstat (limited to 'test/libsolidity/syntaxTests/specialFunctions')
-rw-r--r--test/libsolidity/syntaxTests/specialFunctions/single_non_bytes_arg.sol9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/libsolidity/syntaxTests/specialFunctions/single_non_bytes_arg.sol b/test/libsolidity/syntaxTests/specialFunctions/single_non_bytes_arg.sol
index 3f8e3014..a6ee4bf1 100644
--- a/test/libsolidity/syntaxTests/specialFunctions/single_non_bytes_arg.sol
+++ b/test/libsolidity/syntaxTests/specialFunctions/single_non_bytes_arg.sol
@@ -7,6 +7,9 @@ contract C {
function g(bytes32) pure internal {}
}
// ----
-// Warning: (54-72): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.
-// Warning: (85-100): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.
-// Warning: (113-131): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data. The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.
+// Warning: (54-72): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (54-72): The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.
+// Warning: (85-100): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (85-100): The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.
+// Warning: (113-131): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (113-131): The provided argument of type uint256 is not implicitly convertible to expected type bytes memory.