diff options
author | chriseth <chris@ethereum.org> | 2018-05-16 17:44:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 17:44:55 +0800 |
commit | 365ad058383a90da45ca7c608520ce850e609bc7 (patch) | |
tree | 46b41743c2057f2ea8dd08619337ca1905bd1483 /test/libsolidity/syntaxTests/specialFunctions | |
parent | 23adea88fdc7eafc5b67b759b4c2418bd6b93aa6 (diff) | |
parent | 221a4d1f1f8a644ef9905f8f1d4a9a4428ec0489 (diff) | |
download | dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.tar dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.tar.gz dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.tar.bz2 dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.tar.lz dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.tar.xz dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.tar.zst dexon-solidity-365ad058383a90da45ca7c608520ce850e609bc7.zip |
Merge pull request #4147 from ethereum/hash-non-bytes-arg
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.sol | 9 |
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. |