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

expand var decl alias resolution #1273

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

Techatrix
Copy link
Member

fixes #1240
For some reason, var decl alias resolution had some artificial restrictions like requiring that var decl name is the same as the right side of the field access.
Here is an example from llvm.zig that shows how removing some constraints affects hover and inlay hints.

Before:
Screenshot from 2023-06-26 19-59-08
After:
Screenshot from 2023-06-26 19-58-42

@Techatrix Techatrix force-pushed the inlay-hints-alias-decls branch from 9dc5690 to 4b629d1 Compare June 28, 2023 16:05
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.

Getting inlay hints for method calls, but not normal function calls
2 participants