projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25f11df
)
[Ada] Improve error message on anonymous access parameter conversion
author
Arnaud Charlet
<charlet@adacore.com>
Thu, 16 Apr 2020 12:37:56 +0000
(08:37 -0400)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Wed, 17 Jun 2020 08:14:16 +0000
(
04:14
-0400)
2020-06-17 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* sem_res.adb (Valid_Conversion): Change error message to make
it more user-friendly.
gcc/ada/sem_res.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_res.adb
b/gcc/ada/sem_res.adb
index 7e6535028892763c047496ece8ea89baf17ad9b2..0a6d61f0df8a536cb2563512652efd528645188b 100644
(file)
--- 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;