[Issue 17831] [ICE] Internal error: backend/symbol.c 1039: foreach inside a switch statement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 16 13:21:51 UTC 2017


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Reduced test:
---
void main()
{
    switch (2)
    {
        foreach (i; 0 .. 5)
            case i:
                break;
        default:
            break;
    }
}
---

--


More information about the Digitalmars-d-bugs mailing list