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

try to treat fall-through cases in switch as a single branch #82

Open
msridhar opened this issue Feb 5, 2016 · 1 comment
Open

try to treat fall-through cases in switch as a single branch #82

msridhar opened this issue Feb 5, 2016 · 1 comment
Assignees
Labels

Comments

@msridhar
Copy link
Contributor

msridhar commented Feb 5, 2016

E.g., for this code:

switch (s) {
  case ONE:
  case TWO:
  case THREE:
    doSomething();
  default:
    fail();
}

The first three cases would correspond to a single branch, which is "taken" if s matches ONE, TWO, or THREE, and "not taken" otherwise.

@msridhar
Copy link
Contributor Author

@ksen007 is there any hope of addressing this one?

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

No branches or pull requests

2 participants