Thread overview
[Issue 22390] Compiler crash when iterating empty array of bottom types
Jul 12, 2022
Dlang Bot
Jul 15, 2022
Dlang Bot
October 16, 2021
https://issues.dlang.org/show_bug.cgi?id=22390

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |backend
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #1 from moonlightsentinel@disroot.org ---
The first example is a duplicate of issue 21956.

The second one is new and manifests in an assertion failure:

dmd: src/dmd/backend/cod3.d:2400: Assertion `0' failed.

--
July 12, 2022
https://issues.dlang.org/show_bug.cgi?id=22390

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #14294 "Fix Issue 22390 - Compiler crash when iterating empty array of bottom types" fixing this issue:

- Fix Issue 22390 - Compiler crash when iterating empty array of bottom types

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

--
July 15, 2022
https://issues.dlang.org/show_bug.cgi?id=22390

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

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14294 "Fix Issue 22390 - Compiler crash when iterating empty array of bottom types" was merged into master:

- c0016fff436473364453c6969459bc58e37f53f2 by RazvanN7:
  Fix Issue 22390 - Compiler crash when iterating empty array of bottom types

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

--