Move base constructor argument checks.

This commit is contained in:
chriseth
2018-11-30 16:30:19 +01:00
parent 57a62429c9
commit 2c2c976697
4 changed files with 97 additions and 93 deletions
@@ -64,6 +64,12 @@ private:
void checkFunctionOverride(FunctionDefinition const& function, FunctionDefinition const& super);
void overrideError(FunctionDefinition const& function, FunctionDefinition const& super, std::string message);
void checkContractAbstractFunctions(ContractDefinition const& _contract);
void checkContractBaseConstructorArguments(ContractDefinition const& _contract);
void annotateBaseConstructorArguments(
ContractDefinition const& _currentContract,
FunctionDefinition const* _baseConstructor,
ASTNode const* _argumentNode
);
langutil::ErrorReporter& m_errorReporter;
};