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 hashes in LSP diagnostic names #4960

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

ChrisPenner
Copy link
Contributor

Overview

The LSP wasn't correctly including names from the current file when computing diagnostics, resulting in Hashes in error messages for definitions which weren't in the codebase yet (or which were being updated)

Before:
image

After:
image

Implementation notes

Include the file names in the PPE if the file successfully parses.

Test coverage

Another case where it's tough to test the LSP; Let me know if you have any ideas 🤔

@ChrisPenner ChrisPenner marked this pull request as ready for review May 16, 2024 01:32
@aryairani aryairani merged commit d43d231 into trunk May 16, 2024
19 checks passed
@aryairani aryairani deleted the cp/lsp-fix-hashes-in-diagnostics branch May 16, 2024 02:29
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