SE-0192 — Non-Exhaustive Enums — review #2

Yes, this is to support new cases in 3rd party source files - when you updated some such file, new case appeared and you don't need to fix this in your switch at this second, 'unknown:' branch will handle this new case. You may don't use 'unknown:' in your switch - then you'll have standard error(switch must be exhaustive) in case of new case in external source file.

1 Like