jashkenas/coffee-script — Issue #2014: Multiline "when"
Author: copyboy
Created: 2012-01-08 01:06:11+00:00
State: open

I just noticed this while coding along happily, and while it's not a big problem, it still kind of bugs me.
Following code does not compile:

```coffee-script
switch order
when "bread", "cake", "pizza", "water",
"rotten fish", "horn of a unicorn"
console.log "You receive a #{order}."
when "pistol", "machine gun",
"rocket launcher", "katana"
console.log "We don't sell any weapons."
```

I think it should be possible to break up `when` statements into multiple lines.