jashkenas/coffee-script — Issue #1900: Hash keys and a dot
Author: PhilWaldmann
Created: 2011-11-29 15:30:39+00:00
State: open

Hi,

The following code leads to a parsing error, which is correct!

```coffeescript
foo:
this.bar: 1
```

But this one will create exactly the same code, which is not valid javascript.

```coffeescript
foo:
@bar:1
```

There should be either an error, or put in quotes:

```javascript
foo: {
'this.bar': 1
}
```