Class HasHandWrittenEquality
java.lang.Object
org.ek9lang.compiler.support.sameness.HasHandWrittenEquality
- All Implemented Interfaces:
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.-
Constructor Details
-
HasHandWrittenEquality
public HasHandWrittenEquality()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<IAggregateSymbol>
-