mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make members context-sensitive.
This commit is contained in:
@@ -138,9 +138,6 @@ struct ExpressionAnnotation: ASTAnnotation
|
||||
|
||||
struct IdentifierAnnotation: ExpressionAnnotation
|
||||
{
|
||||
/// Stores a reference to the current contract.
|
||||
/// This is needed because types of base contracts change depending on the context.
|
||||
ContractDefinition const* contractScope = nullptr;
|
||||
/// Referenced declaration, set at latest during overload resolution stage.
|
||||
Declaration const* referencedDeclaration = nullptr;
|
||||
/// List of possible declarations it could refer to.
|
||||
|
||||
Reference in New Issue
Block a user