Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(158)

Issue 5492058: code review 5492058: gob: isZero for struct values (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by r
Modified:
13 years, 3 months ago
Reviewers:
rsc
CC:
golang-dev, r2, gri
Visibility:
Public.

Description

gob: isZero for struct values Fixes issue 2577.

Patch Set 1 #

Patch Set 2 : diff -r e03f5fc4f701 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M src/pkg/encoding/gob/encode.go View 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/encoding/gob/gobencdec_test.go View 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 5
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2011-12-16 19:01:54 UTC) #1
r2
now *that* was a proper use of panic. -rob
13 years, 3 months ago (2011-12-16 19:02:21 UTC) #2
gri
LGTM
13 years, 3 months ago (2011-12-16 19:03:47 UTC) #3
r
*** Submitted as http://code.google.com/p/go/source/detail?r=9836ab89b890 *** gob: isZero for struct values Fixes issue 2577. R=golang-dev, r, ...
13 years, 3 months ago (2011-12-16 19:34:02 UTC) #4
rsc
13 years, 3 months ago (2011-12-16 19:35:56 UTC) #5
I don't remember the details but it seems like you
could argue that array should be handled more like
struct and less like slice.

Russ
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b