diff options
author | Christian <c@ethdev.com> | 2015-01-20 22:58:04 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-20 22:58:04 +0800 |
commit | d854e56789c4bf2f5caca563dd0e660dababf181 (patch) | |
tree | 79b755313238b71fe44ae01504ac95ef6c38e338 /Types.cpp | |
parent | 417f9c03d03a9fa52665bd238a42081d55df62c9 (diff) | |
download | dexon-solidity-d854e56789c4bf2f5caca563dd0e660dababf181.tar.gz dexon-solidity-d854e56789c4bf2f5caca563dd0e660dababf181.tar.zst dexon-solidity-d854e56789c4bf2f5caca563dd0e660dababf181.zip |
Include virtual function overrides in constructor context.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -716,7 +716,7 @@ MemberList const& TypeType::getMembers() const // We are accessing the type of a base contract, so add all public and private // functions. Note that this does not add inherited functions on purpose. for (ASTPointer<FunctionDefinition> const& f: contract.getDefinedFunctions()) - if (f->getName() != contract.getName()) + if (!f->isConstructor()) members[f->getName()] = make_shared<FunctionType>(*f); } m_members.reset(new MemberList(members)); |