We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5aa655 commit da4ca5eCopy full SHA for da4ca5e
compiler/natives/src/reflect/reflect.go
@@ -266,6 +266,9 @@ func (n name) name() (s string) { return nameMap[n.bytes].name }
266
func (n name) tag() (s string) { return nameMap[n.bytes].tag }
267
func (n name) pkgPath() string { return nameMap[n.bytes].pkgPath }
268
func (n name) isExported() bool { return nameMap[n.bytes].exported }
269
+func (n name) setPkgPath(pkgpath string) {
270
+ nameMap[n.bytes].pkgPath = pkgpath
271
+}
272
273
func newName(n, tag string, exported bool) name {
274
b := new(byte)
0 commit comments