diff options
| author | Michael Matloob <matloob@golang.org> | 2025-05-30 14:52:32 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2025-05-30 14:29:13 -0700 |
| commit | a4f2384de7e18f683603694ee1e12b93dbc8adeb (patch) | |
| tree | 149299553cbf15da9492978a5550a03c836ad288 /cmd | |
| parent | 274f41854e537a9443cc9ca83cd631cde79fe343 (diff) | |
| download | go-x-pkgsite-a4f2384de7e18f683603694ee1e12b93dbc8adeb.tar.xz | |
internal/godoc: fix incompatibility with Go 1.25 go/doc package
In Go 1.25, the go/doc package will not call the ast.NewPackage function
on the asts, which has the side effect of populating the objects.
Instead, call it ourselves for the side effect. This will fix the build
breakage.
Change-Id: I657fb92619b1db724a80bb1c8f0df998c2fce2e0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/677596
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
