Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cmd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
golang.org/x/sys v0.45.0
golang.org/x/telemetry v0.0.0-20260519152614-eab6ae52b5e2
golang.org/x/term v0.43.0
golang.org/x/tools v0.45.1-0.20260604184323-2111063761b3
golang.org/x/tools v0.45.1-0.20260708165844-7044391f8d9f
)

require (
Expand Down
4 changes: 2 additions & 2 deletions src/cmd/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ golang.org/x/term v0.43.0 h1:S4RLU2sB31O/NCl+zFN9Aru9A/Cq2aqKpTZJ6B+DwT4=
golang.org/x/term v0.43.0/go.mod h1:lrhlHNdQJHO+1qVYiHfFKVuVioJIheAc3fBSMFYEIsk=
golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
golang.org/x/text v0.37.0/go.mod h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
golang.org/x/tools v0.45.1-0.20260604184323-2111063761b3 h1:67WIfVS+BxW2WEfdADNUnCzQ/wcK7oSOaevonJ70wTw=
golang.org/x/tools v0.45.1-0.20260604184323-2111063761b3/go.mod h1:LuUGqqaXcXMEFEruIVJVm5mgDD8vww/z/SR1gQ4uE/0=
golang.org/x/tools v0.45.1-0.20260708165844-7044391f8d9f h1:+8KrHGzDDuO2MPZnvvvtdkjmT9N+WrPEqugH6wRHmL4=
golang.org/x/tools v0.45.1-0.20260708165844-7044391f8d9f/go.mod h1:LuUGqqaXcXMEFEruIVJVm5mgDD8vww/z/SR1gQ4uE/0=
rsc.io/markdown v0.0.0-20240306144322-0bf8f97ee8ef h1:mqLYrXCXYEZOop9/Dbo6RPX11539nwiCNBb1icVPmw8=
rsc.io/markdown v0.0.0-20240306144322-0bf8f97ee8ef/go.mod h1:8xcPgWmwlZONN1D9bjxtHEjrUtSEa3fakVF8iaewYKQ=

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cmd/vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ golang.org/x/text/internal/tag
golang.org/x/text/language
golang.org/x/text/transform
golang.org/x/text/unicode/norm
# golang.org/x/tools v0.45.1-0.20260604184323-2111063761b3
# golang.org/x/tools v0.45.1-0.20260708165844-7044391f8d9f
## explicit; go 1.25.0
golang.org/x/tools/cmd/bisect
golang.org/x/tools/cover
Expand Down
5 changes: 0 additions & 5 deletions src/internal/types/testdata/fixedbugs/issue48703.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ package p

import "unsafe"

// The actual example from the issue.
type List[P any] struct{}

func (_ List[P]) m() (_ List[List[P]]) { return }

// Other types of recursion through methods.
type R[P any] int

Expand Down
9 changes: 9 additions & 0 deletions src/internal/types/testdata/fixedbugs/issue80172.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright 2026 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package p

type List[P /* ERROR "instantiation cycle" */ any] struct{}

func (_ List[P]) m() (_ List[List[P]]) { return }
Loading