Closed dijs closed 11 years ago
For some reason I thought this worked already. I'll put it on the list to make sure it does.
I checked - it looks like these are not compiling as expected:
class ABC
task d()
return 1
Compiles to
function ABC() {
}
ABC.d = function (k$next) {
var k$rv;
try {
return k$rv = [null, 1], k$next.apply(this, k$rv);
} catch (k$err) {if (k$next) {return k$next.apply(this,[k$err]);} else {throw k$err;}}
return k$next ? k$next() : void 0;
}
It should be assigning to ABC.prototype.d
.
Yep, thats what I got too.
Should be an easy fix though. :)
Is this easy to implement?