On Friday, 6 November 2015 at 08:48:38 UTC, user123456789abcABC wrote:
Template parameter deduction in partially specialized template fails:

---
enum Bar{b,a,r}
void foo(Bar bar, T)(T t){}
alias foob(T) = foo!(Bar.b, T);

void main()
{
    foo!(Bar.b)(8);
    foob(8); // autsch
}
---

It looks like a bug, doesn't it ?

I believe this is https://issues.dlang.org/show_bug.cgi?id=1807

Reply via email to