CoffeeScript Switch Statements

Jul 5, 2012 at 9:21 PM
Edited Jul 5, 2012 at 9:21 PM

I'm getting a bug where if I create a switch statement with more then one case within a function it compiles an empty js file. So for example

switch day 

when "Mon" then go work

compiles but 

something: ->

 switch day

when "Mon" then go work

when "Tues" then go relax

 

doesn't compile.

Anyone else see this?