Community
Participate
Working Groups
Discussed during https://git.eclipse.org/r/#/c/135120/ > What about "switch (1) { case 1 -> 2; case 2 -> 0; }"? > Could use a constant instead of the literal. apparently that would produce unreachable code, but even for old switch *statements* we don't report this. Could either use regular dead-code warning, or make it a special warning, but perhaps still under the same option.