You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing a precompiled version of elixir with asdf you get also the source code but compiled modules have the wrong path for it in their compile metadata.
The correct path is ~/.asdf/installs/elixir/1.14.1/lib/elixir/lib/enum.ex.
I have not tried building from source but I think it that case it's working.
The wrong source path causes, for instance, ElixirLS not being able to navigate to Elixir source code
[Info - 9:17:22 AM] Started ElixirLS v0.13.0
[Info - 9:17:22 AM] ElixirLS built with elixir "1.12.3" on OTP "22"
[Info - 9:17:22 AM] Running on elixir "1.13.4 (compiled with Erlang/OTP 24)" on OTP "24"
[Info - 9:17:22 AM] Elixir sources not found (checking in /home/build/elixir). Code navigation to Elixir modules disabled.
The text was updated successfully, but these errors were encountered:
albertored
changed the title
Compiled elixir modules has the wrong path for source
Compiled elixir modules have the wrong path for source
Jan 25, 2023
When installing a precompiled version of elixir with asdf you get also the source code but compiled modules have the wrong path for it in their compile metadata.
The correct path is
~/.asdf/installs/elixir/1.14.1/lib/elixir/lib/enum.ex
.I have not tried building from source but I think it that case it's working.
The wrong source path causes, for instance, ElixirLS not being able to navigate to Elixir source code
The text was updated successfully, but these errors were encountered: