diff options
author | liangdzou <liang.d.zou@gmail.com> | 2018-09-21 09:27:33 +0800 |
---|---|---|
committer | liangdzou <liang.d.zou@gmail.com> | 2018-09-21 09:27:33 +0800 |
commit | f347dee812eed22fa5cf59801c05a701333b70e2 (patch) | |
tree | 978d458cfa052414da8f29ba1b3e6055570c82eb | |
parent | ab93c94081a4f2849572e7432c63f9b449d5b6a5 (diff) | |
download | dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.tar dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.tar.gz dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.tar.bz2 dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.tar.lz dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.tar.xz dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.tar.zst dexon-solidity-f347dee812eed22fa5cf59801c05a701333b70e2.zip |
fix typo
-rw-r--r-- | libjulia/backends/evm/AbstractAssembly.h | 2 | ||||
-rw-r--r-- | libsolidity/ast/Types.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libjulia/backends/evm/AbstractAssembly.h b/libjulia/backends/evm/AbstractAssembly.h index 6b1b5c23..b6818923 100644 --- a/libjulia/backends/evm/AbstractAssembly.h +++ b/libjulia/backends/evm/AbstractAssembly.h @@ -103,7 +103,7 @@ enum class IdentifierContext { LValue, RValue }; struct ExternalIdentifierAccess { using Resolver = std::function<size_t(solidity::assembly::Identifier const&, IdentifierContext, bool /*_crossesFunctionBoundary*/)>; - /// Resolve a an external reference given by the identifier in the given context. + /// Resolve an external reference given by the identifier in the given context. /// @returns the size of the value (number of stack slots) or size_t(-1) if not found. Resolver resolve; using CodeGenerator = std::function<void(solidity::assembly::Identifier const&, IdentifierContext, julia::AbstractAssembly&)>; diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 56735698..ea156688 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -666,7 +666,7 @@ TypePointer IntegerType::binaryOperatorResult(Token::Value _operator, TypePointe return TypePointer(); } - auto commonType = Type::commonType(shared_from_this(), _other); //might be a integer or fixed point + auto commonType = Type::commonType(shared_from_this(), _other); //might be an integer or fixed point if (!commonType) return TypePointer(); |