Skip to content

Go 1.25 #555

@Airblader

Description

@Airblader

The following fails under Go 1.25 (note that this is using the latest release at time of writing, but earlier versions fail, too):

$ go install k8s.io/kube-openapi/cmd/[email protected]
# golang.org/x/tools/internal/tokeninternal
../../../../1.25.0/pkg/mod/golang.org/x/[email protected]/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)

I believe the experimental golang.org/x packages need to be updated, in particular golang.org/x/tools, which was fixed in a later version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions