diff options
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1024,7 +1024,7 @@ MemberList const& TypeType::getMembers() const vector<ContractDefinition const*> currentBases = m_currentContract->getLinearizedBaseContracts(); if (find(currentBases.begin(), currentBases.end(), &contract) != currentBases.end()) // We are accessing the type of a base contract, so add all public and protected - // functions. Note that this does not add inherited functions on purpose. + // members. Note that this does not add inherited functions on purpose. for (ASTPointer<Declaration> const& decl: contract.getInheritableMembers()) members.push_back(make_pair(decl->getName(), decl->getType())); } |