From 05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 7 Aug 2018 13:17:56 +0100 Subject: More precise error message if using non-variables with _slot/_offset --- .../syntaxTests/inlineAssembly/storage_reference_on_function.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol index 6838e7a4..9165654f 100644 --- a/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol +++ b/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol @@ -6,4 +6,4 @@ contract C { } } // ---- -// DeclarationError: (84-90): Identifier not found. +// TypeError: (84-90): The suffixes _offset and _slot can only be used on storage variables. -- cgit