Class WhyNotOrderable
java.lang.Object
org.ek9lang.compiler.support.sameness.WhyNotOrderable
- All Implemented Interfaces:
BiFunction<IAggregateSymbol, ISymbol, String>
public final class WhyNotOrderable
extends Object
implements BiFunction<IAggregateSymbol, ISymbol, String>
THE wording of why a type has no
<=> although it asked for one with the bare default operator
(D58): the field whose type cannot be ordered, the type declaring it and - only where that is a super - that a
sub-type follows its super. True for a type with no super and for one below a retracted super. The answer is a
phrase to follow "is not available on 'X': ". The question it words is OrderingAvailability's. Hold one and
apply it with the Any type.-
Constructor Details
-
WhyNotOrderable
public WhyNotOrderable()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<IAggregateSymbol, ISymbol, String>
-