aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
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/tight_packing_literals_fine.sol
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/tight_packing_literals_fine.sol')
-rw-r--r--test/libsolidity/syntaxTests/tight_packing_literals_fine.sol12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
index e18fbd9f..2b9b688a 100644
--- a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
+++ b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
@@ -19,8 +19,12 @@ contract C {
}
}
// ----
-// Warning: (77-96): 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 uint8 is not implicitly convertible to expected type bytes memory.
+// Warning: (77-96): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (77-96): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory.
// Warning: (168-182): "sha3" has been deprecated in favour of "keccak256"
-// Warning: (168-182): 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 uint8 is not implicitly convertible to expected type bytes memory.
-// Warning: (254-270): 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 uint8 is not implicitly convertible to expected type bytes memory.
-// Warning: (342-361): 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 uint8 is not implicitly convertible to expected type bytes memory.
+// Warning: (168-182): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (168-182): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory.
+// Warning: (254-270): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (254-270): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory.
+// Warning: (342-361): This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
+// Warning: (342-361): The provided argument of type uint8 is not implicitly convertible to expected type bytes memory.