You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When associating examples with types, functions and methods (go/doc/example.go:classifyExamples), the identifier name associated with method M of type G[T] is G[T]_M. Since square brackets are not allowed in Go identifiers, it isn't possible to write an example function that matches that string.
When associating examples with types, functions and methods (go/doc/example.go:classifyExamples), the identifier name associated with method
M
of typeG[T]
isG[T]_M
. Since square brackets are not allowed in Go identifiers, it isn't possible to write an example function that matches that string.I suggest removing the square brackets, as was done in https://golang.org/cl/354689 to fix #48032.
The text was updated successfully, but these errors were encountered: