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-Tag: upstream/12.2.0~15521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=831aff1d8be79fda3ec3172fdbcbbec3c8be319d;p=platform%2Fupstream%2Fgcc.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 7e65350..0a6d61f 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;