adt.js icon indicating copy to clipboard operation
adt.js copied to clipboard

_pattern _datatype and _tag won't work with recursive `this(...)` calls

Open rehno-lindeque opened this issue 12 years ago • 0 comments

When recursively calling this(...) the private members this._pattern, this._datatype and this._tag are updated in a stateful manner and probably won't retain their values after this(...).

Probably we need to restore their values after the evaluator has been invoked.

rehno-lindeque avatar May 13 '12 20:05 rehno-lindeque