aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-16 16:22:03 +0800
committerGitHub <noreply@github.com>2018-05-16 16:22:03 +0800
commit23adea88fdc7eafc5b67b759b4c2418bd6b93aa6 (patch)
treea648418931273de87ada16443d3c18b739c76d76 /test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
parent54839fdffbc32f1f918790b1e09143a410bd1c80 (diff)
parent03f60410c9ad57c90a327ffb6e8b6b722ec9c995 (diff)
downloaddexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.tar
dexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.tar.gz
dexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.tar.bz2
dexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.tar.lz
dexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.tar.xz
dexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.tar.zst
dexon-solidity-23adea88fdc7eafc5b67b759b4c2418bd6b93aa6.zip
Merge pull request #4138 from ethereum/warnVarArgs
Warn when hash functions are used with var arguments
Diffstat (limited to 'test/libsolidity/syntaxTests/tight_packing_literals_fine.sol')
-rw-r--r--test/libsolidity/syntaxTests/tight_packing_literals_fine.sol4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
index 81e69eb4..e18fbd9f 100644
--- a/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
+++ b/test/libsolidity/syntaxTests/tight_packing_literals_fine.sol
@@ -19,4 +19,8 @@ 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: (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.