rstacruz/js2coffee — Issue #125: [bug] Regexp after try {} catch (e) {} complains about "missing operand"
Author: GlitchMr
Created: 2012-02-14 20:08:22+00:00
State: open

If parser will see regexp after try {} catch (e) {} block, it will decide to fail. It doesn't happen if semicolon is in between.

try {} catch (e) {}
/regexp/

Causes following message to appear:

> SyntaxError: missing operand