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

Fixed hyphen in filename breaking LSP #988

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Fixed hyphen in filename breaking LSP #988

merged 2 commits into from
Aug 5, 2024

Conversation

Riley-Kilgore
Copy link
Member

Really small change.

@Riley-Kilgore Riley-Kilgore requested a review from a team as a code owner July 31, 2024 14:31
Copy link
Member

@KtorZ KtorZ left a comment

Choose a reason for hiding this comment

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

I know the testing on the LSP part is rather low, but I feel it's a good time to add the first bits of unit tests. The uri_to_module_name function should be easy to cover and ensure it matches whatever strategy we use in for aiken-project

We use a regular expression in one place ( https://github.com/aiken-lang/aiken/blob/main/crates/aiken-project/src/lib.rs#L947-L962 ), and some string transformation in the other. I am not convinced that they actually match.

@rvcas
Copy link
Member

rvcas commented Aug 5, 2024

@KtorZ mind if I merge these changes and allow him to follow up with that on a second PR?

@rvcas rvcas merged commit 5160ab4 into main Aug 5, 2024
12 checks passed
@rvcas rvcas deleted the lsp_fix_hyphens branch August 5, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ In Next Release
Development

Successfully merging this pull request may close these issues.

4 participants