gopherjs: Cannot install
When typing in go 1.5 and 1.6: go get -u github.com/gopherjs/gopherjs I get:
# github.com/gopherjs/gopherjs/compiler
Go/src/github.com/gopherjs/gopherjs/compiler/utils.go:341: cannot use ty (type "go/types".Type) as type "golang.org/x/tools/go/types".Type in argument to c.p.anonTypeMap.At:
"go/types".Type does not implement "golang.org/x/tools/go/types".Type (wrong type for Underlying method)
have Underlying() "go/types".Type
want Underlying() "golang.org/x/tools/go/types".Type
Go/src/github.com/gopherjs/gopherjs/compiler/utils.go:347: cannot use ty (type "go/types".Type) as type "golang.org/x/tools/go/types".Type in argument to c.p.anonTypeMap.Set:
"go/types".Type does not implement "golang.org/x/tools/go/types".Type (wrong type for Underlying method)
have Underlying() "go/types".Type
want Underlying() "golang.org/x/tools/go/types".Type
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 16 (8 by maintainers)
Perfect! It worked this time, and ~:$gopherjs build test1.go did what was expected to do: it created test1.js and test1.js.map
Thanks a lot.
On Mon, Mar 28, 2016 at 8:35 PM, Dmitri Shuralyov notifications@github.com wrote: