Code, Changelog, ReleaseChecklist: Fix typos.

Refs: #4442
This commit is contained in:
Cryptomental
2018-07-11 00:26:23 +02:00
parent 4116704442
commit 140dbfdbd8
26 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ void TypeChecker::overrideError(FunctionDefinition const& function, FunctionDefi
{
m_errorReporter.typeError(
function.location(),
SecondarySourceLocation().append("Overriden function is here:", super.location()),
SecondarySourceLocation().append("Overridden function is here:", super.location()),
message
);
}
+1 -1
View File
@@ -68,7 +68,7 @@ private:
void checkContractDuplicateFunctions(ContractDefinition const& _contract);
void checkContractDuplicateEvents(ContractDefinition const& _contract);
void checkContractIllegalOverrides(ContractDefinition const& _contract);
/// Reports a type error with an appropiate message if overriden function signature differs.
/// Reports a type error with an appropriate message if overridden function signature differs.
/// Also stores the direct super function in the AST annotations.
void checkFunctionOverride(FunctionDefinition const& function, FunctionDefinition const& super);
void overrideError(FunctionDefinition const& function, FunctionDefinition const& super, std::string message);