Shouldn't the last line of the following code compile? --- void foo(T)(T[] array) {} void main() { int[] a = [1, 2, 3]; foo(a); // OK foo!int(a); // OK a.foo(); // OK //a.foo!int(); // Error: foo(a) isn't a template } ---
That code now works with dmd 2.059HEAD.