On 5/12/22 12:00, Paul Backus wrote: > Good news: starting from DMD 2.099, this error message has been > reworded. Instead of "cannot deduce function...". it now says: > > Error: none of the overloads of template `std.algorithm.iteration.sum` > are callable using argument types `!()(int[3])`
Much better.An idea: The compiler should be able to detect static arrays and also suggest slicing with something like "slicing as in `arr[]` might work".
Ali