Thread overview
[Issue 22406] importC: Error: 'switch' statement without a 'default'; use 'final switch' or add 'default: assert(0);' or add 'default: break;'
Oct 17, 2021
Iain Buclaw
Oct 17, 2021
Dlang Bot
Oct 18, 2021
Dlang Bot
Oct 21, 2021
Dlang Bot
October 17, 2021
https://issues.dlang.org/show_bug.cgi?id=22406

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC, rejects-valid
                 CC|                            |ibuclaw@gdcproject.org

--
October 17, 2021
https://issues.dlang.org/show_bug.cgi?id=22406

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

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

--- Comment #1 from Dlang Bot <dlang-bot@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

--
October 18, 2021
https://issues.dlang.org/show_bug.cgi?id=22406

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

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

--- Comment #2 from Dlang Bot <dlang-bot@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

--
October 21, 2021
https://issues.dlang.org/show_bug.cgi?id=22406

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #13209 "Merge stable into master" was merged into master:

- f60ea8d142081919cab615aa49ee11c6919c2a6f 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/13209

--