Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

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

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

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

CeylonMigrationBot opened this issue Oct 26, 2015 · 1 comment

Comments

@CeylonMigrationBot
Copy link

[@gavinking] Issue #4557 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.

[Migrated from ceylon/ceylon-spec#1452]

@CeylonMigrationBot
Copy link
Author

[@lucaswerkmeister] 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants