erlang-ls / erlang_ls

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

Dialyzer diagnostics broken with OTP 26 #1456

Closed robertoaloi closed 6 months ago

robertoaloi commented 8 months ago

The dialyzer_plt:from_file/1 function, used by els_typer has been removed in https://github.com/erlang/otp/commit/963c7d5ccecb9ea4940e7112d88534781a413fa6

We should switch to the new API and ideally use Dialyzer in incremental mode.

TD5 commented 8 months ago

I presume you could switch to dialyzer_cplt:from_file/1 as a quick fix?

plux commented 6 months ago

Fix for this has been merged.

Adding support for incremental dialyzer sounds like a good idea.