From a2083770feee7095f67eda0fd5081e5a3e112f7c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 30 May 2014 07:56:05 -0700 Subject: runtime: add zero field to rtype The rtype struct is meant to be a copy of reflect.rtype. The zero field was added to reflect.rtype in 18495:6e50725ac753. LGTM=rsc R=khr, rsc CC=golang-codereviews https://codereview.appspot.com/93660045 --- src/pkg/runtime/type.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/pkg/runtime/type.go b/src/pkg/runtime/type.go index 374754afa..276dbc0c9 100644 --- a/src/pkg/runtime/type.go +++ b/src/pkg/runtime/type.go @@ -26,6 +26,7 @@ type rtype struct { string *string *uncommonType ptrToThis *rtype + zero unsafe.Pointer } type _method struct { -- cgit v1.2.1