--- 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 ?
user123456789abcABC via Digitalmars-d-learn Fri, 06 Nov 2015 00:51:07 -0800
--- 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 ?