diff options
author | Ian Lance Taylor <iant@golang.org> | 2014-05-30 07:56:05 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2014-05-30 07:56:05 -0700 |
commit | aad4609c086cc5069aecb66cd1b7c32700fda1d5 (patch) | |
tree | d6fc9ccbc115751e1d93036497770c35ce368454 | |
parent | 89d46fed2c30b729b9100c1139a1793e10ad8b57 (diff) | |
download | go-aad4609c086cc5069aecb66cd1b7c32700fda1d5.tar.gz go-aad4609c086cc5069aecb66cd1b7c32700fda1d5.zip |
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
-rw-r--r-- | src/pkg/runtime/type.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |