4 fail_compilation/ice12501.d(29): Error: function ice12501.foo (int value) is not callable using argument types (int, int)
5 fail_compilation/ice12501.d(29): Error: function ice12501.foo (int value) is not callable using argument types (int, int)
6 fail_compilation/ice12501.d(43): Error: template instance ice12501.reduce!(foo, foo).reduce!(Tuple!(int, int), int[]) error instantiating
16 Tuple!A tuple(A...)(A args) { return typeof(return)(args); }
18 template reduce(fun...)
20 auto reduce(Args...)(Args args)
24 Args[0] result = seed;
25 for (; r.length != 0; r = r[1..$])
27 foreach (i, Unused; Args[0].Types)
29 result[i] = fun[i](result[i], r[0]);
43 reduce!(foo, foo)(tuple(0, 0), [ 1 ]);