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
doc: invalid program: unexpected type for embedded field
doc: invalid program: unexpected type for embedded field
doc: invalid program: unexpected type for embedded field
doc: invalid program: unexpected type for embedded field
doc: invalid program: unexpected type for embedded field
doc: invalid program: unexpected type for embedded field
package constraints // import "constraints"
Package constraints defines a set of useful constraints to be used with type
parameters.
TYPES
type Complex interface {
~complex64 | ~complex128
}
Complex is a constraint that permits any complex numeric type. If future
releases of Go add new predeclared complex numeric types, this constraint
will be modified to include them.
type Float interface {
~float32 | ~float64
...
My guess is that doc doesn't use the newer parser options or something?
The text was updated successfully, but these errors were encountered:
seankhliao
changed the title
affected/package: cmd/doc
cmd/doc: -all constraints: unexpected type for embedded field
Dec 18, 2021
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ go1.18beta1 doc -all constraints
What did you expect to see?
Docs without errors
What did you see instead?
The following errors in front of the doc:
My guess is that doc doesn't use the newer parser options or something?
The text was updated successfully, but these errors were encountered: