From f7a9c4203e35439de6ff4bdd94c7083c16b73e43 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 29 Jun 2018 17:41:59 +0200 Subject: Disallow packed encoding of literals. --- test/libsolidity/syntaxTests/tight_packing_literals.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libsolidity/syntaxTests/tight_packing_literals.sol') diff --git a/test/libsolidity/syntaxTests/tight_packing_literals.sol b/test/libsolidity/syntaxTests/tight_packing_literals.sol index be8482ff..a136aa77 100644 --- a/test/libsolidity/syntaxTests/tight_packing_literals.sol +++ b/test/libsolidity/syntaxTests/tight_packing_literals.sol @@ -5,4 +5,4 @@ contract C { } // ---- -// Warning: (92-93): The type of "int_const 1" was inferred as uint8. This is probably not desired. Use an explicit type to silence this warning. +// TypeError: (92-93): Cannot perform packed encoding for a literal. Please convert it to an explicit type first. -- cgit