Skip to content

lsp: fix hover/goto for type aliases#1078

Merged
micahscopes merged 2 commits intoargotorg:masterfrom
sbillig:resolve-alias
Apr 9, 2025
Merged

lsp: fix hover/goto for type aliases#1078
micahscopes merged 2 commits intoargotorg:masterfrom
sbillig:resolve-alias

Conversation

@sbillig
Copy link
Collaborator

@sbillig sbillig commented Apr 9, 2025

Type aliases are now resolved as PathRes::TyAlias, so the language server can get the proper span to use for hover and goto.

Best to look at the commits separately. The second commit is cleanup that I missed in #1074.

@sbillig sbillig requested a review from micahscopes April 9, 2025 16:21
Copy link
Collaborator

@micahscopes micahscopes left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@micahscopes micahscopes merged commit e3e0997 into argotorg:master Apr 9, 2025
6 checks passed
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