Closed
Description
from #168
Still doesn't completely solve the problem when a function ends with a switch statement.
foobar = function(callback) {
var x;
x = "foo";
switch (a) {
case 1:
"1"; break;
case 2:
"2"; break;
default:
"default";break;
}
};
result:
foobar = (callback) ->
x = undefined
x = "foo"
switch a
when 1
"1"
when 2
"2"
else
"default"
expected:
foobar = (callback) ->
x = undefined
x = "foo"
switch a
when 1
"1"
when 2
"2"
else
"default"
return