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

Basile-z <b2.t...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|infinite loop when          |case of infinite loop when
                   |compiling                   |combining IFTI, `ref`, and
                   |std.algorithm.each on a     |`alias this` on static
                   |type with static range      |instance
                   |primitives                  |

--- Comment #1 from Basile-z <b2.t...@gmx.com> ---
reduced:

---
struct Conv
{
    static StaticIterable b;
    alias b this;
}

struct StaticIterable
{
    static Conv b;
    alias b this;
}

void each(T)(ref T r)
{
    return ;
}

void main()
{
    StaticIterable.each!();
} 
---

--

Reply via email to