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

Basile-z <[email protected]> changed:

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

--- Comment #1 from Basile-z <[email protected]> ---
If someone comes with a fix then rather use this test case since the original
is not supposed to compile even with the bug fixed. This one does:

---
template memoize(alias fun)
{
    alias Args = string;
    void memoize(Args args) {}
}

template memoize(alias fun)
{
    alias Args = int;
    void memoize(Args args) {}
}

void main()
{
    memoize!(a => a)("");
}
---

--

Reply via email to