On Wed, 9 Mar 2022, Hairy Pixels via fpc-pascal wrote:
I don’t know where to start debugging this yet but I found that compiling
for the aarch64 target now breaks my Pascal language server which uses
JSON RPC.
It breaks early on when sending the first message (initialize) which I register
like this:
JSONRPCHandlerManager.RegisterHandler('initialize', TInitialize);
So you get an exception here ?
And then the client returns back the message:
No class "initialize" with method "initialize" was found.
It's not normal that there is 2 times 'initialize' ?
The first should be a class name, and the second a method name.
Which I assumed is from the JSON RPC layer.
Yes.
If you updated from trunk:
I fixed some bugs in the JSONRPC mechanism.
Maybe you are now bumping into something that used to work by accident but
which is now caught...
But then I would also barf at Hairy Pixels.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal