From bdc6ae579aa86d21183c612c8c37916f397afaa8 Mon Sep 17 00:00:00 2001 From: David Chase Date: Fri, 20 Jan 2023 16:41:57 -0500 Subject: internal/abi: refactor (basic) type struct into one definition This touches a lot of files, which is bad, but it is also good, since there's N copies of this information commoned into 1. The new files in internal/abi are copied from the end of the stack; ultimately this will all end up being used. Change-Id: Ia252c0055aaa72ca569411ef9f9e96e3d610889e Reviewed-on: https://go-review.googlesource.com/c/go/+/462995 TryBot-Result: Gopher Robot Reviewed-by: Carlos Amedee Run-TryBot: David Chase Reviewed-by: Keith Randall --- src/runtime/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/plugin.go') diff --git a/src/runtime/plugin.go b/src/runtime/plugin.go index 312802de00..d2ad1ed21c 100644 --- a/src/runtime/plugin.go +++ b/src/runtime/plugin.go @@ -85,7 +85,7 @@ func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*ini (*valp)[0] = unsafe.Pointer(t) name := symName.name() - if t.kind&kindMask == kindFunc { + if t.Kind_&kindMask == kindFunc { name = "." + name } syms[name] = val -- cgit v1.3-5-g9baa