-
Notifications
You must be signed in to change notification settings - Fork 196
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
Crash #571
Comments
@benkeil please post a project or a snippet that reproduces this crash. |
There is a big snippet… |
It looks like a regression in elixir standard library. I can reproduce it with elixir-ls compiled with elixir < 1.12 and run on 1.12. When I compile and run on 1.12 the error no longer happens. |
The relevant fixes will be included in elixir >= 1.12.3. Consider upgrading to 1.12.3 when it's released or downgrading to 1.11.x. Theoretically we could workaround the issue by avoiding all elixir APIs using Range but IMO it's not worth the cost as it would touch elixir-ls and all its deps. This is another case whre our packaging approach is not optimal. See #115 for more details. |
Environment
Logs
Reproduce
The code is from the elixir guide. When open autocomplete after
String.
inString.t()
it crashes.The text was updated successfully, but these errors were encountered: