diff --git a/compiler/natives/src/runtime/runtime.go b/compiler/natives/src/runtime/runtime.go index 827cb81b1..0ae518412 100644 --- a/compiler/natives/src/runtime/runtime.go +++ b/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")