aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-04-16 08:37:56 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-17 04:14:16 -0400
commit831aff1d8be79fda3ec3172fdbcbbec3c8be319d (patch)
tree3741ddf62c9f329c97fda79d36a0b91b3c0498b6
parent25f11dfe76f537afd72380a698eba3a98a9f694a (diff)
downloadgcc-831aff1d8be79fda3ec3172fdbcbbec3c8be319d.zip
gcc-831aff1d8be79fda3ec3172fdbcbbec3c8be319d.tar.gz
gcc-831aff1d8be79fda3ec3172fdbcbbec3c8be319d.tar.bz2
[Ada] Improve error message on anonymous access parameter conversion
2020-06-17 Arnaud Charlet <charlet@adacore.com> gcc/ada/ * sem_res.adb (Valid_Conversion): Change error message to make it more user-friendly.
-rw-r--r--gcc/ada/sem_res.adb2
1 files changed, 1 insertions, 1 deletions
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;