GNAT now recognizes Ada.Exceptions.Raise_Exception properly

This commit is contained in:
Samuel Tardieu 2023-06-15 10:33:56 +02:00
parent 6dd94b326f
commit 0efdf44fc9
1 changed files with 0 additions and 7 deletions

View File

@ -123,13 +123,6 @@ package body Sockets.Utils is
else
Raise_Exception (Socket_Error'Identity, Message);
end if;
-- The following line works around a bug in GNAT that does not
-- recognize Ada.Exceptions.Raise_Exception as raising an exception,
-- even if it can compute statically that the occurrence cannot
-- be Null_Occurrence ???
raise Program_Error;
end Raise_With_Message;
end Sockets.Utils;