More precise error message if using non-variables with _slot/_offset

This commit is contained in:
Alex Beregszaszi
2018-08-07 13:18:54 +01:00
parent eb7b3862ac
commit 05cc7e79e1
3 changed files with 8 additions and 4 deletions
@@ -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.