On Wednesday, 28 January 2015 at 22:43:36 UTC, bearophile wrote:
Nordlöw:

Is there any chance we could add logic to dmd+phobos that hints user about this?

It's such a fundamental part of D+Phobos that newbies are forced to learn this quickly. On the other hand an informative error message could be useful...

What error message do you suggest?

Bye,
bearophile

Range is not castable to array. See std.array.array to generate an array from a Range.

Reply via email to