jashkenas/coffee-script — Issue #2059: allow a.'b-c' instead of a['b-c']
Author: nightwing
Created: 2012-01-20 10:10:12+00:00
State: open

allowing

```coffee
object.'some-string'.'other-string'.method()
object."set#{name}"(val)
```
instead of

```coffee
object['some-string']['other-string'].method()
object["set#{name}"](val)
```

doesn't create any ambiguities, or take syntax useful for something else
but removes redundant wrapping with `[` a of string already wrapped with `'`

also it is more consitent

```coffee
{'some-string': 1}
'other-string'.method
```