Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not build on Go 1.6 #94

Closed
serejja opened this issue Feb 18, 2016 · 1 comment
Closed

Does not build on Go 1.6 #94

serejja opened this issue Feb 18, 2016 · 1 comment

Comments

@serejja
Copy link

serejja commented Feb 18, 2016

Just tried to go get this package with Go 1.6 and got the following:

>> go get github.com/kisielk/errcheck
# github.com/kisielk/errcheck/internal/errcheck
../../../kisielk/errcheck/internal/errcheck/errcheck.go:234: impossible type switch case: v.pkg.Info.Types[call].Type (type "golang.org/x/tools/go/types".Type) cannot have dynamic type *"go/types".Named (wrong type for Underlying method)
    have Underlying() "go/types".Type
    want Underlying() "golang.org/x/tools/go/types".Type
../../../kisielk/errcheck/internal/errcheck/errcheck.go:237: impossible type switch case: v.pkg.Info.Types[call].Type (type "golang.org/x/tools/go/types".Type) cannot have dynamic type *"go/types".Pointer (wrong type for Underlying method)
    have Underlying() "go/types".Type
    want Underlying() "golang.org/x/tools/go/types".Type
../../../kisielk/errcheck/internal/errcheck/errcheck.go:240: impossible type switch case: v.pkg.Info.Types[call].Type (type "golang.org/x/tools/go/types".Type) cannot have dynamic type *"go/types".Tuple (wrong type for Underlying method)
    have Underlying() "go/types".Type
    want Underlying() "golang.org/x/tools/go/types".Type
../../../kisielk/errcheck/internal/errcheck/errcheck.go:275: impossible type assertion:
    *"go/types".Builtin does not implement "golang.org/x/tools/go/types".Object (wrong type for Parent method)
        have Parent() *"go/types".Scope
        want Parent() *"golang.org/x/tools/go/types".Scope

Any chance to get this fixed soon? Thanks!

@serejja
Copy link
Author

serejja commented Feb 18, 2016

Ok, worked fine with go get -u :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant