mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
More precise error message if using non-variables with _slot/_offset
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user