To make an old project work in 6.1.2, I would like to disable the "new" requirement that a reporter must report a value. I guess this could be done hacking this function
Process.prototype.evaluateContext = function () {
var exp = this.context.expression;
this.frameCount += 1;
if (this.context.tag === 'exit') {
this.expectReport();
}
if (exp instanceof Array) {
return this.evaluateSequence(exp);
}
if (exp instanceof MultiArgMorph) {
return this.evaluateMultiSlot(exp, exp.inputs().length);
}
if (exp instanceof ArgLabelMorph) {
return this.evaluateArgLabel(exp);
}
if (exp instanceof ArgMorph || exp.bindingID) {
return this.evaluateInput(exp);
}
if (exp instanceof BlockMorph) {
return this.evaluateBlock(exp, exp.inputs().length);
}
if (isString(exp)) {
return this[exp].apply(this, this.context.inputs);
}
if (exp instanceof Variable) { // special case for empty reporter rings
this.returnValueToParentContext(exp.value);
}
this.popContext(); // default: just ignore it
};
so to avoid that expectReport() is called. I tried just commenting it out and embedding it in a new custom block in a javascript reporter, but it doesn't fully work as expected (the reporter hungs, then, if I click it again, I get a -partial- result). Can someone suggest me how this can be disabled? Thanks in advance.