Merge pull request #6292 from ethereum/better-docu-for-param

[Trivial] Clarify documentation of ContractType::m_super
This commit is contained in:
chriseth 2019-03-14 16:07:30 +01:00 committed by GitHub
commit 34893225ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -797,6 +797,7 @@ public:
return _inLibrary ? shared_from_this() : encodingType();
}
/// See documentation of m_super
bool isSuper() const { return m_super; }
// @returns true if and only if the contract has a payable fallback function
@ -813,8 +814,7 @@ public:
private:
ContractDefinition const& m_contract;
/// If true, it is the "super" type of the current contract, i.e. it contains only inherited
/// members.
/// If true, this is a special "super" type of m_contract containing only members that m_contract inherited
bool m_super = false;
/// Type of the constructor, @see constructorType. Lazily initialized.
mutable FunctionTypePointer m_constructorType;