Skip to content

Commit fbc4d22

Browse files
egonelbredmitshur
authored andcommitted
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.
1 parent a892bdb commit fbc4d22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/natives/src/runtime/runtime.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ type _type struct {
2222
func (t *_type) string() string {
2323
return ""
2424
}
25+
func (t *_type) pkgpath() string {
26+
return ""
27+
}
2528

2629
func init() {
2730
jsPkg := js.Global.Get("$packages").Get("github.com/gopherjs/gopherjs/js")

0 commit comments

Comments
 (0)