Thanks to visit codestin.com
Credit goes to github.com

Skip to content

reflect package from Go 1.11.1 doesn't build with GopherJS 1.11-1. #862

Closed
@dmitshur

Description

@dmitshur

Go 1.11.1 has been released today. It includes some changes to the reflect package. The overrides that GopherJS 1.11-1 makes to the reflect package are no longer compatible, causing it to not build:

$ go version
go version go1.11.1 darwin/amd64
$ gopherjs version
GopherJS 1.11-1
$ gopherjs build reflect
/usr/local/go/src/reflect/value.go:673:60: cannot use t (variable of type *rtype) as *funcType value in argument to funcLayout
/usr/local/go/src/reflect/value.go:336:21: cannot use methodReceiver(op, v, int(v.flag) >> flagMethodShift) (value of type *rtype) as *funcType value in assignment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions