rstacruz/js2coffee — Issue #107: extra space on multi-line nested arrays
Author: Wisdom
Created: 2011-11-10 11:06:01+00:00
State: open

Javascript

```
var a;

a = function() {
call([
function() {
a = [
function() {
c;
}
];
}, d([
function() {
e;
}
])
]);
};
```

js2coffee

```
a = undefined
a = ->
call [ ->
a = [ ->
c
]
, d([ ->
e
]) ]
```

Coffeescript
UNMATCHED OUTDENT ON LINE 7

Possible solution: remove the space before ]

```
a = undefined
a = ->
call [ ->
a = [ ->
c
]
, d([ ->
e
]) ]
```