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

Iain Buclaw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Iain Buclaw <[email protected]> ---
Reduced test:
---
void dorecursive()
{
    recursive([]);
}

void recursive(R)(R r)
{
    recursive( r.filter!(e=>true) );
}

template filter(alias predicate)
{
    auto filter(Range)(Range)
    {
        return FilterResult!(predicate, Range)();
    }
}

struct FilterResult(alias pred, Range)
{
    alias R = Range;
    R _input;
}
---

--

Reply via email to