From 831aff1d8be79fda3ec3172fdbcbbec3c8be319d Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Thu, 16 Apr 2020 08:37:56 -0400 Subject: [PATCH] [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. --- gcc/ada/sem_res.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2