diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-07 20:17:56 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-07 20:18:54 +0800 |
commit | 05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6 (patch) | |
tree | 795453abee9aa819951ee8a532de623d8719a648 /test/libsolidity/syntaxTests | |
parent | eb7b3862ac5089615710d07c9a56b8edc0472394 (diff) | |
download | dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.gz dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.tar.zst dexon-solidity-05cc7e79e1bf484c71ce93510fbfbf2c3e415cc6.zip |
More precise error message if using non-variables with _slot/_offset
Diffstat (limited to 'test/libsolidity/syntaxTests')
-rw-r--r-- | test/libsolidity/syntaxTests/inlineAssembly/storage_reference_on_function.sol | 2 |
1 files changed, 1 insertions, 1 deletions
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. |