From: Ian Lance Taylor Date: Fri, 30 May 2014 14:56:05 +0000 (-0700) Subject: runtime: add zero field to rtype X-Git-Tag: go1.3rc1~23 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aad4609c086cc5069aecb66cd1b7c32700fda1d5;p=gostls13.git 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://golang.org/cl/93660045 --- diff --git a/src/pkg/runtime/type.go b/src/pkg/runtime/type.go index 374754afaf..276dbc0c9c 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 {