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

Fix awaiting_contracts not getting responses #433

Merged

Conversation

lukaszsamson
Copy link
Collaborator

When editing the same file multiple entries would get inserted to awaiting_contracts list. This PR changes that behaviour to always respond to the previous request involving the same URI before we request a new one.
Besides that I removed a no longer necessary fix for JakeBecker/elixir-ls#105 - source_files race conditions should no longer happen.

Copy link
Member

@axelson axelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@axelson axelson merged commit 8a22882 into elixir-lsp:master Dec 6, 2020
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

Successfully merging this pull request may close these issues.

2 participants