Update tests for strict address literals

This commit is contained in:
Jason Cobb
2018-06-25 16:17:50 +02:00
committed by Alex Beregszaszi
parent 48b003d4d4
commit 98c9ca2575
14 changed files with 24 additions and 25 deletions
@@ -1,8 +1,8 @@
contract test {
function fun(uint256 a) returns (address b) {
function fun(uint256 a) returns (uint8 b) {
if (a < 0) b = 0x67; else if (a == 0) b = 0x12; else b = 0x78;
}
}
// ----
// Warning: (20-142): No visibility specified. Defaulting to "public".
// Warning: (20-142): Function state mutability can be restricted to pure
// Warning: (20-140): No visibility specified. Defaulting to "public".
// Warning: (20-140): Function state mutability can be restricted to pure