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

Ivan Kazmenko <ga...@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ga...@mail.ru

--- Comment #1 from Ivan Kazmenko <ga...@mail.ru> ---
Stumbled across this one, too:
https://forum.dlang.org/post/choxsofkhspvmpbyg...@forum.dlang.org

My use case is as follows:

foreach (i; 0..10)
    foreach (j; 0..10) if (pred2 (i, j))
        foreach (k; 0..10) if (pred3 (i, j, k))
            ... and maybe more ...
        {
            auto set = [i: true, j: true; k: true];
            if (set.length == 3)
            {
                 ... we found distinct i, j, k, ...
            }
        }

--

Reply via email to