Nested switch statement

Last modified: 03 December 2024

Reports switch statements that are nested inside other switch statements. Such nested switch statements are confusing, and may result in unexpected behaviour.

Example: