Skip to content

Commit 6219b48

Browse files
[release-branch.go1.13] internal/reflectlite: update reflectlite to match runtime rtype/mapType
Similar to tip https://golang.org/cl/197559. Fixes #35408 Change-Id: Ie8e28b93fb3adf23c3a0a39f6917ff76abf44fdf Reviewed-on: https://go-review.googlesource.com/c/go/+/205721 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 3f995c3 commit 6219b48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/internal/reflectlite/type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ type mapType struct {
246246
rtype
247247
key *rtype // map key type
248248
elem *rtype // map element (value) type
249+
bucket *rtype // internal bucket structure
249250
keysize uint8 // size of key slot
250251
valuesize uint8 // size of value slot
251252
bucketsize uint16 // size of bucket

0 commit comments

Comments
 (0)