From 3b546acd57f239aec4bc10e89b730b7f7c7349e1 Mon Sep 17 00:00:00 2001 From: Mathias Baumann Date: Thu, 14 Mar 2019 15:26:18 +0100 Subject: [PATCH] Clarify documentation of ContractType::m_super --- libsolidity/ast/Types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h index f88232c9b..95e515062 100644 --- a/libsolidity/ast/Types.h +++ b/libsolidity/ast/Types.h @@ -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;