diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-27 17:08:14 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-02 18:51:13 +0800 |
commit | 7db2b6fbdb7188596fbb05bea32d686c32e26c7f (patch) | |
tree | 23a58056048ae9789642c077e046a25daede85bd /Types.cpp | |
parent | 47177542f54a29562d99b27554ed991f318c058a (diff) | |
download | dexon-solidity-7db2b6fbdb7188596fbb05bea32d686c32e26c7f.tar.gz dexon-solidity-7db2b6fbdb7188596fbb05bea32d686c32e26c7f.tar.zst dexon-solidity-7db2b6fbdb7188596fbb05bea32d686c32e26c7f.zip |
VisibleInDerivedContracts() is now virtual()
- Plus an extra test for internal visibility in a base class variable
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -628,8 +628,7 @@ MemberList const& ContractType::getMembers() const { for (ContractDefinition const* base: m_contract.getLinearizedBaseContracts()) for (ASTPointer<FunctionDefinition> const& function: base->getDefinedFunctions()) - if (!function->isConstructor() && !function->getName().empty()&& - function->isVisibleInDerivedContracts()) + if (function->isVisibleInDerivedContracts()) members.push_back(make_pair(function->getName(), make_shared<FunctionType>(*function, true))); } else |