mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjustments after review
This commit is contained in:
@@ -696,7 +696,7 @@ bool IRGeneratorForStatements::visit(UnaryOperation const& _unaryOperation)
|
||||
|
||||
string argument = expressionAsType(_unaryOperation.subExpression(), *functionType->selfType());
|
||||
solAssert(!argument.empty());
|
||||
solAssert(function->isImplemented(), "");
|
||||
solAssert(function->isImplemented());
|
||||
|
||||
solAssert(
|
||||
function->returnParameters().size() == 1,
|
||||
@@ -843,7 +843,7 @@ bool IRGeneratorForStatements::visit(BinaryOperation const& _binOp)
|
||||
string right = expressionAsType(_binOp.rightExpression(), *functionType->parameterTypes().at(0));
|
||||
solAssert(!left.empty() && !right.empty());
|
||||
|
||||
solAssert(function->isImplemented(), "");
|
||||
solAssert(function->isImplemented());
|
||||
|
||||
solAssert(
|
||||
function->returnParameters().size() == 1,
|
||||
@@ -860,7 +860,7 @@ bool IRGeneratorForStatements::visit(BinaryOperation const& _binOp)
|
||||
return false;
|
||||
}
|
||||
|
||||
solAssert(!!_binOp.annotation().commonType, "");
|
||||
solAssert(!!_binOp.annotation().commonType);
|
||||
Type const* commonType = _binOp.annotation().commonType;
|
||||
langutil::Token op = _binOp.getOperator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user