erlang-ls / erlang_ls

The Erlang Language Server
https://erlang-ls.github.io/
Apache License 2.0
626 stars 136 forks source link

[LSP] Fix initialize on OTP 23.0/23.1 #1449

Closed danielfinke closed 9 months ago

danielfinke commented 1 year ago

Description

els_uri:path/2 was calling uri_string:percent_decode/1, which is unavailable until OTP 23.2 (https://www.erlang.org/doc/man/uri_string#percent_decode-1)

robertoaloi commented 1 year ago

Hi @danielfinke and thanks for this. It seems the OTP 23 CI still breaks on a XRef error.

danielfinke commented 1 year ago

@robertoaloi I think I have addressed the xref error (as well as a Dialyzer warning when on OTP 23.0/23.1)

plux commented 9 months ago

Thanks for your contribution @danielfinke !