This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] ada: An access to non-constant cannot cover an access to constant
On 28/11, Edmond Schonberg wrote:
> Yes, these two look fine. Note that this will require a corresponding patch
> for Wrong_Type. Currently it will give a generic message about mismatch
> between the designated types, but that's not clear enough in this case.
> Alternatively, you could emit the error message right there, as is done for
> (the implicit conversions related to) access actuals:
Ok, I will emit a better error message. Actually, I found the generic
one quite clear already, but I take your word on it.