When a CASE expression is in the return position of a function and it
contains an empty clause that is not the last clause, a syntax error is
produced:
(lambda () (case x (:foo) (:bar)))
=>
function () {
switch (x) {
case 'foo':
return break;
case 'bar':
return null;
};
};
=>
SyntaxError: Unexpected token break
Scott