@@ -51,7 +51,7 @@ with LSP.Server_Notification_Receivers;
5151with LSP.Server_Notifications ;
5252with LSP.Server_Request_Receivers ;
5353with LSP.Server_Requests ;
54- limited with LSP.Servers ;
54+ with LSP.Servers ;
5555with LSP.Structures ;
5656with LSP.Tracers ;
5757with LSP.Unimplemented_Handlers ;
@@ -62,7 +62,7 @@ private with LAL_Refactor;
6262package LSP.Ada_Handlers is
6363
6464 type Message_Handler
65- (Server : not null access LSP.Servers.Server'Class ;
65+ (Server : not null LSP.Servers.Server_Access ;
6666 -- Please avoid to use this discriminant!
6767 Sender : not null access LSP.Client_Message_Receivers
6868 .Client_Message_Receiver'Class;
@@ -74,7 +74,7 @@ package LSP.Ada_Handlers is
7474 with private ;
7575
7676 procedure Initialize
77- (Self : access Message_Handler'Class ;
77+ (Self : in out Message_Handler;
7878 Incremental_Text_Changes : Boolean;
7979 CLI_Config_File : GNATCOLL.VFS.Virtual_File :=
8080 GNATCOLL.VFS.No_File);
@@ -168,7 +168,7 @@ private
168168 type Has_Been_Canceled_Function is access function return Boolean;
169169
170170 type Message_Handler
171- (Server : not null access LSP.Servers.Server'Class ;
171+ (Server : not null LSP.Servers.Server_Access ;
172172 -- Please avoid to use this discriminant!
173173 Sender : not null access LSP.Client_Message_Receivers
174174 .Client_Message_Receiver'Class;
0 commit comments