Open Gozala opened 10 years ago
I guess I could simply modify generated code to be:
var Mutate = exports.Mutate = (function () {
var Mutate = function Mutate(a) {
this.a = a;
return this;
};
Mutate.prototype[IMutate.wisp_core$IProtocol$id] = true;
Mutate.prototype[IMutate.mutate.name] = function (_) {
var a = this.a;
try {
return a = symbol(void 0, 'foo');
} finally {
this.a = a
}
};
return Mutate;
})();