mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5041 from liangdzou/fix_typo_in_doc
fix typo in docs and comments
This commit is contained in:
commit
32112d6480
@ -103,7 +103,7 @@ enum class IdentifierContext { LValue, RValue };
|
|||||||
struct ExternalIdentifierAccess
|
struct ExternalIdentifierAccess
|
||||||
{
|
{
|
||||||
using Resolver = std::function<size_t(solidity::assembly::Identifier const&, IdentifierContext, bool /*_crossesFunctionBoundary*/)>;
|
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.
|
/// @returns the size of the value (number of stack slots) or size_t(-1) if not found.
|
||||||
Resolver resolve;
|
Resolver resolve;
|
||||||
using CodeGenerator = std::function<void(solidity::assembly::Identifier const&, IdentifierContext, julia::AbstractAssembly&)>;
|
using CodeGenerator = std::function<void(solidity::assembly::Identifier const&, IdentifierContext, julia::AbstractAssembly&)>;
|
||||||
|
@ -666,7 +666,7 @@ TypePointer IntegerType::binaryOperatorResult(Token::Value _operator, TypePointe
|
|||||||
return TypePointer();
|
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)
|
if (!commonType)
|
||||||
return TypePointer();
|
return TypePointer();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user