https://bugzilla.gdcproject.org/show_bug.cgi?id=307

--- Comment #4 from Iain Buclaw <ibuc...@gdcproject.org> ---
Actually, there's more.

---
void test307()
{
    apply307(1, 2, 3);
}

void apply307(T...)(T ts)
{
tloop:
    foreach (t; ts)
    {
        switch (t)
        {
            continue tloop;
            default:
        }
    }
tloop2:
    foreach (t; ts)
    {
        switch (t)
        {
            break tloop;
            default:
        }
    }
tloop3:
    foreach (t; ts)
    {
        switch (t)
        {
            continue;
            default:
        }
    }
tloop4:
    foreach (t; ts)
    {
        switch (t)
        {
            break;
            default:
        }
    }
}
---

I think I have a fix, though will try it out later...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to