[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
Mon Oct 18 00:19:16 UTC 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
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;'" was merged into stable:

- ec3fb8db4a213f3b19fe13804904d3782cdb412d by Iain Buclaw:
  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