Skip to content

Support new type alias format in go 1.23#64

Merged
ashanbrown merged 2 commits intomasterfrom
asb/fix-alias
Oct 25, 2025
Merged

Support new type alias format in go 1.23#64
ashanbrown merged 2 commits intomasterfrom
asb/fix-alias

Conversation

@ashanbrown
Copy link
Copy Markdown
Owner

@ashanbrown ashanbrown commented Oct 25, 2025

In go 1.23, unless GODEBUG=gotypesalias=0 is set, we will see Type.Alias instead of Type.Named for an alias. We need to find the original value recursively when we see this.

@ashanbrown ashanbrown marked this pull request as ready for review October 25, 2025 17:46
@ashanbrown ashanbrown merged commit 39a4111 into master Oct 25, 2025
1 check 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.

1 participant