rstacruz/js2coffee — Issue #121: switch-case errors
Author: paulmillr
Created: 2012-01-16 06:05:12+00:00
State: open

```javascript
switch (a) {
case 7, 10, 11: console.log(11);
}
```

is converted to

```coffeescript
switch a
when 7
10
11
console.log 11
```

expected:

```coffeescript
switch a
when 11
console.log 11
```

Also, switch-cases without `break` don't work properly

```javascript
switch (a) {
case 5: console.log(5);
case 6: console.log(6);
case 5: console.log(5, 'again');
case 6: console.log(6, 'again');
}
```

is converted to

```coffeescript
switch a
when 5
console.log 5
when 6
console.log 6
when 5
console.log 5, "again"
when 6
console.log 6, "again"
```

expected:

```coffeescript
switch a
when 5
console.log 5
when 6
console.log 6
console.log 5, "again"
console.log 6, "again"
```