[Issue 22406] importC: Error: 'switch' statement without a 'default'; use 'final switch' or add 'default: assert(0);' or add 'default: break;'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 17 17:46:39 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22406

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #13187 "fix Issue 22406 - importC:
Error: 'switch' statement without a 'default'; use 'final switch' or add
'default: assert(0);' or add 'default: break;'" fixing this issue:

- fix Issue 22406 - importC: Error: 'switch' statement without a 'default'; use
'final switch' or add 'default: assert(0);' or add 'default: break;'

https://github.com/dlang/dmd/pull/13187

--


More information about the Digitalmars-d-bugs mailing list