mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added few tests.
This commit is contained in:
@@ -991,7 +991,7 @@ ASTPointer<UsingForDirective> Parser::parseUsingDirective()
|
||||
if (!util::contains(overridable, operator_))
|
||||
parserError(
|
||||
1885_error,
|
||||
("The operator " + string{TokenTraits::toString(operator_)} + " cannot be user-implemented. This is only possible for the folloing operators: ") +
|
||||
("The operator " + string{TokenTraits::toString(operator_)} + " cannot be user-implemented. This is only possible for the following operators: ") +
|
||||
util::joinHumanReadable(overridable | ranges::views::transform([](Token _t) { return string{TokenTraits::toString(_t)}; }))
|
||||
);
|
||||
operators.emplace_back(operator_);
|
||||
|
||||
Reference in New Issue
Block a user