Class NeedsFreshValueError
java.lang.Object
org.ek9lang.compiler.support.streams.NeedsFreshValueError
- All Implemented Interfaces:
BiPredicate<Ek9Types, StreamTermination>
public final class NeedsFreshValueError
extends Object
implements BiPredicate<Ek9Types, StreamTermination>
True when a
> would have to replace its target but the target cannot make a fresh value (E08278): it is
abstract or a trait, has no accessible no-argument constructor, or has no :=: to swap the fresh value in.
The same SinkBufferFor decision, so the error and the replacement can never disagree.-
Constructor Details
-
NeedsFreshValueError
public NeedsFreshValueError()
-
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<Ek9Types, StreamTermination>
-