mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style and stricter tests.
This commit is contained in:
@@ -161,9 +161,7 @@ bool SyntaxChecker::visit(Break const& _breakStatement)
|
||||
bool SyntaxChecker::visit(UnaryOperation const& _operation)
|
||||
{
|
||||
if (_operation.getOperator() == Token::Add)
|
||||
{
|
||||
warning(_operation.location(), "Use of unary + is deprecated");
|
||||
}
|
||||
warning(_operation.location(), "Use of unary + is deprecated.");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user