Class NormalTerminationOrError

java.lang.Object
org.ek9lang.compiler.support.NormalTerminationOrError
All Implemented Interfaces:
BiConsumer<IToken,IScope>

public final class NormalTerminationOrError extends Object implements BiConsumer<IToken,IScope>
THE check that a body which must return a value can do so: a scope whose every path ends in an exception has an unreachable return (E07380). Used for named functions/methods (phase 1, operationDetails) and dynamic function bodies (phase 3, once the return type inherited from the super is known - front-end audit FE65).