diff options
author | Cryptomental <cryptomental.com@gmail.com> | 2018-07-10 15:18:59 +0800 |
---|---|---|
committer | Cryptomental <cryptomental.com@gmail.com> | 2018-07-11 06:26:23 +0800 |
commit | 140dbfdbd8f4319d1d02339feea0a8636a3738e5 (patch) | |
tree | 7ab4a06da70cde7c253a1a0c82ccc085bf76efd5 /libsolidity/analysis | |
parent | 4116704442aff035acb5b707c6b211ac1f5524fe (diff) | |
download | dexon-solidity-140dbfdbd8f4319d1d02339feea0a8636a3738e5.tar.gz dexon-solidity-140dbfdbd8f4319d1d02339feea0a8636a3738e5.tar.zst dexon-solidity-140dbfdbd8f4319d1d02339feea0a8636a3738e5.zip |
Code, Changelog, ReleaseChecklist: Fix typos.
Refs: #4442
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 | ||||
-rw-r--r-- | libsolidity/analysis/TypeChecker.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 78536664..d181462e 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -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 ); } diff --git a/libsolidity/analysis/TypeChecker.h b/libsolidity/analysis/TypeChecker.h index 2245abd6..8dc6b376 100644 --- a/libsolidity/analysis/TypeChecker.h +++ b/libsolidity/analysis/TypeChecker.h @@ -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); |