jashkenas/coffee-script — Issue #1981: Inner class prevents subsequent property definitions
Author: satyr
Created: 2011-12-28 04:50:32+00:00
State: open

```
$ coffee -bce 'class then class; (p:q)'
(function() {

function _Class() {}

(function() {

function _Class() {}

return _Class;

})();

({
p: q
});

return _Class;

})();

$ coffee -bce 'class then (p:q)'
(function() {

function _Class() {}

_Class.prototype.p = q;

return _Class;

})();
```