aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-05-08 20:26:01 +0800
committerchriseth <chris@ethereum.org>2018-05-17 00:32:47 +0800
commit5c59d56335f3777b9e4ad595b66787ed563b26f1 (patch)
tree3099b0f30601a86f030710d8805758a31cee54b3 /test/compilationTests
parent76fc4f8e00a994f0d961d2ca5f0eafa500b20e8e (diff)
downloaddexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.tar
dexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.tar.gz
dexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.tar.bz2
dexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.tar.lz
dexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.tar.xz
dexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.tar.zst
dexon-solidity-5c59d56335f3777b9e4ad595b66787ed563b26f1.zip
Disallow conversions between bytesX and uintY of different size.
Diffstat (limited to 'test/compilationTests')
-rw-r--r--test/compilationTests/milestonetracker/RLP.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/milestonetracker/RLP.sol b/test/compilationTests/milestonetracker/RLP.sol
index 5bb27bb2..1b8cd1cb 100644
--- a/test/compilationTests/milestonetracker/RLP.sol
+++ b/test/compilationTests/milestonetracker/RLP.sol
@@ -263,7 +263,7 @@ library RLP {
var (rStartPos, len) = _decode(self);
if (len != 1)
throw;
- uint temp;
+ uint8 temp;
assembly {
temp := byte(0, mload(rStartPos))
}