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
I was trying to build gomobile from the tip and go get golang.org/x/mobile/cmd/gomobile fails to compile with this error 'src/golang.org/x/mobile/bind/gengo.go:376: cannot use pkg (type *types.Package) as type types.Type in argument to types.TypeString:
*types.Package does not implement types.Type (missing Underlying method)
rakyll
changed the title
golang.org/x/mobile/cmd/gomobile fails to compile (types.TypeString)
x/mobile/cmd/gomobile: fails to compile (types.TypeString)
Jul 2, 2015
I was trying to build gomobile from the tip and go get golang.org/x/mobile/cmd/gomobile fails to compile with this error 'src/golang.org/x/mobile/bind/gengo.go:376: cannot use pkg (type *types.Package) as type types.Type in argument to types.TypeString:
*types.Package does not implement types.Type (missing Underlying method)
Looking at:
golang/tools@997b354#diff-a3b3e01a6877f510d37ff84ed5356341L33
I see that TypeString no longer takes a *Package as expected in gengo.go.
The text was updated successfully, but these errors were encountered: