Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Switch should require a terminal at the end of each case, with a 'fallthrough' keyword when needed #111

Closed
litherum opened this issue Oct 13, 2018 · 1 comment

Comments

@litherum
Copy link
Contributor

Migrated from https://bugs.webkit.org/show_bug.cgi?id=186775:

At 2018-06-18T16:22:07Z, rmorisset@apple.com wrote:
As per our discussion with Phil.

Our definition of switch is already sufficiently far from C (for example we don't support Duff's device) that adding this requirement should be reasonable.

@litherum
Copy link
Contributor Author

At 2018-08-31T20:01:16Z, mmaxfield@apple.com wrote:
*** Bug 188879 has been marked as a duplicate of this bug. ***

@litherum litherum changed the title [WSL] switch should require a terminal at the end of each case, with a 'fallthrough' keyword when needed Switch should require a terminal at the end of each case, with a 'fallthrough' keyword when needed Oct 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant