Why is phobos so wack?

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 9 07:22:45 PDT 2017


On Sunday, 9 July 2017 at 12:56:55 UTC, FoxyBrown wrote:
> import string.
>
> ...
> return str.join(" ");
>
>
> gives
>
> Error: template std.array.join cannot deduce function from 
> argument types !()(string, string)

Well there's your mistake? There is no function `join` that takes 
(string, string). Everything after that is more detail that may 
or may not be useful, but reading the error message carefully, in 
order, is generally good enough. That said, it would be nice if 
the errors were less daunting somehow.


More information about the Digitalmars-d mailing list