Class DefaultOperatorsOrError

All Implemented Interfaces:
Consumer<AggregateSymbol>

final class DefaultOperatorsOrError extends TypedSymbolAccess implements Consumer<AggregateSymbol>
Checks that operators that have been 'defaulted' could actually be implemented. This is done by checking if any super has a suitable or compatible operators and also that any properties/fields also have a suitable operator.
All the equality checks really depend on a comparator (<=>) operator. These are the operators that can be defaulted.
 "<", "<=", ">", ">=", "==", "<>":
 "<=>":
 "?":
 "$":
 "$$":
 "#?":