From: Arnaud Charlet Date: Thu, 16 Apr 2020 12:37:56 +0000 (-0400) Subject: [Ada] Improve error message on anonymous access parameter conversion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=831aff1d8be79fda3ec3172fdbcbbec3c8be319d;p=gcc.git [Ada] Improve error message on anonymous access parameter conversion 2020-06-17 Arnaud Charlet gcc/ada/ * sem_res.adb (Valid_Conversion): Change error message to make it more user-friendly. --- diff --git a/gcc/ada/sem_res.adb b/gcc/ada/sem_res.adb index 7e653502889..0a6d61f0df8 100644 --- a/gcc/ada/sem_res.adb +++ b/gcc/ada/sem_res.adb @@ -13336,7 +13336,7 @@ package body Sem_Res is N_Procedure_Specification) then Conversion_Error_N - ("implicit conversion of anonymous access formal " + ("implicit conversion of anonymous access parameter " & "not allowed", Operand); return False;