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

"else if" in "for" and "else switch" #1452

Open
gavinking opened this issue Oct 26, 2015 · 1 comment
Open

"else if" in "for" and "else switch" #1452

gavinking opened this issue Oct 26, 2015 · 1 comment

Comments

@gavinking
Copy link
Member

Issue #1451 begs the question of whether I should be allowed to:

  • write else if on a for, and/or
  • write else switch.

These are minor parser-level changes.

@lucaswerkmeister
Copy link
Member

This just looks like a random selection of keyword-keyword combinations to me. Why else switch but not else for and else while? And what’s wrong with blocks that you suddenly seem to want to avoid them like the plague?

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

No branches or pull requests

2 participants