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 bug with type aliases to structs #853

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

LandonTClipp
Copy link
Collaborator

@LandonTClipp LandonTClipp commented Nov 26, 2024

@max-melentyev found in #843 that type aliases to structs were being rendered as a struct literal. The problem was that we need the type of the right hand side of the alias definition (which in this case is a named type), not the underlying type itself.

@max-melentyev found in vektra#843 that type aliases to structs were being
rendered as a struct literal. The problem was that we need the type of the
right hand side of the alias definition, not the underlying type itself.
@LandonTClipp LandonTClipp merged commit 773408f into vektra:master Nov 26, 2024
1 check passed
@LandonTClipp LandonTClipp deleted the LandonTClipp/bugfix branch November 26, 2024 22:51
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.

1 participant