Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise a better error when using elixir with ref:v1.11.4 #540

Closed
3 tasks
axelson opened this issue May 5, 2021 · 0 comments
Closed
3 tasks

Raise a better error when using elixir with ref:v1.11.4 #540

axelson opened this issue May 5, 2021 · 0 comments

Comments

@axelson
Copy link
Member

axelson commented May 5, 2021

The errors in the following issues are similar:

One time this can happen is when using asdf with a "ref" version (e.g. ref:v1.11.4).

There appears to currently be several problems:

  • Error: "Could not get Core Erlang code for: /<dir>/lib/mix/tmp/<file>"
    • There might be nothing that ElixirLS can do in this case, but perhaps the tmp files could be detected and ignored somehow
  • ElixirLS keeps trying to rebuild the dialyzer PLT instead of marking the build as failed and stopping
  • This error should be shown to the user (probably after trying to build a few times)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant