Skip to content

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

@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