package eta.runtime.stg;

import static eta.runtime.RuntimeLogging.barf;

public abstract class Value extends Closure {

    @Override
    public Closure enter(StgContext context) {
        barf(this + " entered.");
        return null;
    }

    @Override
    public final Closure getEvaluated() { return this; }

    @Override
    public final Closure evaluate(StgContext context) { return this; }
}

@@ -393,11 +393,101 @@
  this; %7D
+%0A%0A    @Override%0A    public final Closure evaluateTail(StgContext context) %7B return this; %7D
 %0A%7D%0A

Fix implementation of evaluateTail for Values