jashkenas/coffee-script — Issue #2075: Incorrect argument parsing inside if statement if no parenthesis are used
Author: whitehat2k9
Created: 2012-01-29 06:57:24+00:00
State: open

Consider the following Coffeescript line:
```
if active_win.attr 'id' == main_win.attr 'id'
```
and what should be its JavaScript equivalent:
```
if (active_win.attr('id') == main_win.attr('id'))
```

However, as of CoffeeScript 1.2.0, the following is produced instead:
```
if (active_win.attr('id' === main_win.attr('id')))
```

i.e. the first closing parenthesis is missing after 'id'.