Skip to content

go/internal/gcimporter: error with embedded non-interface (possibly an incomplete type) #25615

Closed
@griesemer

Description

@griesemer

To reproduce:

  1. go get github.com/google/go-cmp/cmp
  2. cd $GOPATH/src/github.com/google/go-cmp/cmp
  3. go test
# github.com/google/go-cmp/cmp_test
./compare_test.go:23:2: could not import github.com/google/go-cmp/cmp (cannot import, possibly version skew (embedded type is not an interface) - reinstall package)
./compare_test.go:481:23: cannot range over p (invalid operand)
vet: typecheck failures
FAIL	github.com/google/go-cmp/cmp [build failed]

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.SoonThis needs action soon. (recent regressions, service outages, unusual time-sensitive situations)release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions