Permalink
Browse files

natives/runtime: Add pkgpath method for _type. (#846)

The relevant upstream change is golang/go@cda1947.
A no-op implementation here is okay because the entire _type struct
is already no-op.
  • Loading branch information...
egonelbre authored and dmitshur committed Aug 12, 2018
1 parent c405896 commit c158b45a639e6e0d7a075e515e46453f885b52e0
Showing with 3 additions and 0 deletions.
  1. +3 −0 compiler/natives/src/runtime/runtime.go
@@ -22,6 +22,9 @@ type _type struct {
func (t *_type) string() string {
return ""
}
func (t *_type) pkgpath() string {
return ""
}
func init() {
jsPkg := js.Global.Get("$packages").Get("github.com/gopherjs/gopherjs/js")

0 comments on commit c158b45

Please sign in to comment.