Message ID | 20220519141618.GA3723435@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Fix continuation message without a prior error | expand |
diff --git a/gcc/ada/sem_ch8.adb b/gcc/ada/sem_ch8.adb --- a/gcc/ada/sem_ch8.adb +++ b/gcc/ada/sem_ch8.adb @@ -6995,6 +6995,8 @@ package body Sem_Ch8 is Standard_Standard) then if not Error_Posted (N) then + Error_Msg_NE + ("& is not a visible entity of&", Prefix (N), Selector); Error_Missing_With_Of_Known_Unit (Prefix (N)); end if;