Class HasHandWrittenEquality

java.lang.Object
org.ek9lang.compiler.support.sameness.HasHandWrittenEquality
All Implemented Interfaces:
Predicate<IAggregateSymbol>

public final class HasHandWrittenEquality extends Object implements Predicate<IAggregateSymbol>
THE "did the developer write an == that takes the type itself" (not a defaulted one). A hand-written == is the type's equality, so the defaulted <> is its negation - even beside a <=>, or the two would disagree (DefaultedComparisonDelegate). INTERIM: B18 makes a hand-written comparison beside a <=> an error. Hold one and ask it.