Closed
Description
class A
b: -> super ...
"c": -> super ...
"#d": -> super ...
I think this is by "design" (is that "inconsistency by design" ?), because IIRC this was the reason dynamic keys were removed from coffee
Still, I think #d": -> super ...
should compile to
prototype["" + d] = function(){
return superclass.prototype["" + d].apply(this, arguments);
};
or maybe ?
key$ = "" + d;
prototype[key$] = function(){
return superclass.prototype["" + key$].apply(this, arguments);
};
Is there a special reason for this ? Is something relying on this ?