aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/switch_expression-non_exhaustive_inline.zig
AgeCommit message (Collapse)Author
2025-08-07address commentsJustus Klausecker
2025-08-07Add support for both '_' and 'else' prongs at the same time in switch statementsJustus Klausecker
If both are used, 'else' handles named members and '_' handles unnamed members. In this case the 'else' prong will be unrolled to an explicit case containing all remaining named values.