mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Updates after code review
This commit is contained in:
@@ -3874,7 +3874,7 @@ void TypeChecker::endVisit(UsingForDirective const& _usingFor)
|
||||
m_errorReporter.typeError(
|
||||
9921_error,
|
||||
_usingFor.location(),
|
||||
"The \"using\" directive cannot be used to bind functions to enum types."
|
||||
"The \"using\" directive cannot be used to bind function to enum type as an operator."
|
||||
);
|
||||
|
||||
Type const* normalizedType = TypeProvider::withLocationIfReference(
|
||||
|
||||
Reference in New Issue
Block a user