Confusing "Error: only one index allowed to index [...]"

Neia Neutuladh neia at ikeran.org
Thu Jan 3 02:57:15 UTC 2019


On Wed, 02 Jan 2019 19:25:57 -0700, Jonathan M Davis wrote:
> As with many error messages, the message is very much correct, but some
> folks may find in confusing. Given that error messages tend to be
> written from the standpoint of what the compiler sees rather than from
> what the programmer meant, it can be a bit difficult to write good error
> messages that really help a confused developer figure out what's wrong
> with their code. But creating enhancement requests in bugzilla whenever
> you find an error message confusing can lead to improved error messages.
> Without that, it's unlikely that such messages will ever be improved.

And one of the great things about improved error messages is that they 
don't need much ceremony compared to other PR requests. No DIPs, no 
compiler flags, no transition plan.


More information about the Digitalmars-d mailing list