-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/exp/apidiff: support for go/types.Alias #70695
Comments
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Change https://go.dev/cl/644877 mentions this issue: |
Use types.Unalias as needed. For golang/go#70695. Change-Id: I8595783d9a4c0eef332801135bde490cf745a206 Reviewed-on: https://go-review.googlesource.com/c/exp/+/644877 Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
Change https://go.dev/cl/645015 mentions this issue: |
Change https://go.dev/cl/650135 mentions this issue: |
…irectives [generated] The module's go directive is >= 1.23 now, so these files no longer have any effect. For golang/go#70695. For golang/go#69772. [git-generate] find . -type f -name gotypesalias.go -exec rm {} + Change-Id: Ia9f62875bc73a43f30eda7de873db5d342d8b991 Reviewed-on: https://go-review.googlesource.com/c/exp/+/650135 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
golang.org/x/exp/apidiff should be updated to support
go/types
producing Alias nodes. This is required for these tools to type check input code containing type parameterized alias nodes (1.24).Additionally golang.org/x/exp/cmd/{apidiff, gorelease} should have the gotypesalias=1 GODEBUG setting enabled by default when built with a toolchain >= 1.24. See https://go.dev/cl/627715 for an example of how to do this.
See #69772 for additional context.
The text was updated successfully, but these errors were encountered: