Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch/Case bug #43

Open
phzbox opened this issue Apr 18, 2012 · 0 comments
Open

Switch/Case bug #43

phzbox opened this issue Apr 18, 2012 · 0 comments

Comments

@phzbox
Copy link

phzbox commented Apr 18, 2012

This:

switch(1) {
  case 'a': console.log('..');
}```

Gives this error:
 >> Error: Unexpected token: punc ({) (line: 0, col: 19, pos: 19)

Obviously, this is not real code. It was taken from a bigger file but I've tried to isolate the problem. Thanks!


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant