Add user operator tests for builtin types

This commit is contained in:
wechman
2022-09-28 13:07:58 +02:00
parent 6feb8aea73
commit e0c688d55d
3 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -3943,7 +3943,7 @@ void TypeChecker::endVisit(UsingForDirective const& _usingFor)
m_errorReporter.typeError(
5332_error,
path->location(),
"Operators can only be implemented for user-defined types and not for contracts."
"Operators can only be implemented for user-defined value types and structs."
);
continue;
}