Thread overview
[Issue 21956] ice on foreach over an AA of noreturn
May 23, 2021
Basile-z
Oct 15, 2021
Ate Eskola
Jul 08, 2022
Dlang Bot
Jul 12, 2022
Dlang Bot
May 23, 2021
https://issues.dlang.org/show_bug.cgi?id=21956

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
also triggered by

---
alias noreturn = typeof(*null);

int main()
{
    noreturn b;
    noreturn a = b ? b : b;
    return 0;
}
---

--
May 24, 2021
https://issues.dlang.org/show_bug.cgi?id=21956

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |backend
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #2 from moonlightsentinel@disroot.org ---
The code is valid but the backend doesn't support it yet.

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

Ate Eskola <Ajieskola@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ajieskola@gmail.com
           Severity|normal                      |critical

--- Comment #3 from Ate Eskola <Ajieskola@gmail.com> ---
I think that a compiler crash that triggers without any preview switches is a critical bug.

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

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--
January 04, 2022
https://issues.dlang.org/show_bug.cgi?id=21956

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #4 from moonlightsentinel@disroot.org ---
*** Issue 22650 has been marked as a duplicate of this issue. ***

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

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

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

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
@RazvanN7 created dlang/dmd pull request #14274 "Fix Issue 21956 - Issue 21956 - ice on foreach over an AA of noreturn" fixing this issue:

- Fix Issue 21956 - Issue 21956 - ice on foreach over an AA of noreturn

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

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

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

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

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14274 "Fix Issue 21956 - ice on foreach over an AA of noreturn" was merged into master:

- 52bb3f701e18dd393065aa3184f1b8ef4bf5690a by RazvanN7:
  Fix Issue 21956 - ice on foreach over an AA of noreturn

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

--