[Ada] Replace call with a reference to a local constant
gcc/ada/ * sem_ch4.adb (Try_Object_Operation): Reuse local constant.
This commit is contained in:
committed by
Pierre-Marie de Rodat
parent
ef9dd96c92
commit
4e54d69b66
+1
-1
@@ -10223,7 +10223,7 @@ package body Sem_Ch4 is
|
||||
if Serious_Errors_Detected = 0 then
|
||||
Error_Msg_NE
|
||||
("cannot resolve prefixed call to primitive operation of&",
|
||||
N, Entity (Prefix (N)));
|
||||
N, Entity (Obj));
|
||||
end if;
|
||||
end if;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user