Operator validation
Closed this issue · 0 comments
vihanb commented
Class functions should have operator overloads in the specific format:
public static func <op>(lhs: <typeName>, rhs: <typeName>) -> <ReturnType> {
}
This should be validated for all cases for when an operator is placed. For unary operators <op>(rhs:)
would be the format.