@@ -51,7 +51,7 @@ with LSP.Server_Notification_Receivers;
51
51
with LSP.Server_Notifications ;
52
52
with LSP.Server_Request_Receivers ;
53
53
with LSP.Server_Requests ;
54
- limited with LSP.Servers ;
54
+ with LSP.Servers ;
55
55
with LSP.Structures ;
56
56
with LSP.Tracers ;
57
57
with LSP.Unimplemented_Handlers ;
@@ -62,7 +62,7 @@ private with LAL_Refactor;
62
62
package LSP.Ada_Handlers is
63
63
64
64
type Message_Handler
65
- (Server : not null access LSP.Servers.Server'Class ;
65
+ (Server : not null LSP.Servers.Server_Access ;
66
66
-- Please avoid to use this discriminant!
67
67
Sender : not null access LSP.Client_Message_Receivers
68
68
.Client_Message_Receiver'Class;
@@ -74,7 +74,7 @@ package LSP.Ada_Handlers is
74
74
with private ;
75
75
76
76
procedure Initialize
77
- (Self : access Message_Handler'Class ;
77
+ (Self : in out Message_Handler;
78
78
Incremental_Text_Changes : Boolean;
79
79
CLI_Config_File : GNATCOLL.VFS.Virtual_File :=
80
80
GNATCOLL.VFS.No_File);
@@ -168,7 +168,7 @@ private
168
168
type Has_Been_Canceled_Function is access function return Boolean;
169
169
170
170
type Message_Handler
171
- (Server : not null access LSP.Servers.Server'Class ;
171
+ (Server : not null LSP.Servers.Server_Access ;
172
172
-- Please avoid to use this discriminant!
173
173
Sender : not null access LSP.Client_Message_Receivers
174
174
.Client_Message_Receiver'Class;
0 commit comments