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

Issue 4873049: code review 4873049: asn1: add support for unmarshalling structs with int32 ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by dave
Modified:
13 years, 8 months ago
Reviewers:
CC:
agl1, rsc, golang-dev
Visibility:
Public.

Description

asn1: add support for unmarshalling structs with int32 members Also improve error message for unsupported integer types

Patch Set 1 #

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

Patch Set 3 : diff -r 65e4ed2fa573 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 65e4ed2fa573 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 65e4ed2fa573 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 65e4ed2fa573 https://go.googlecode.com/hg/ #

Total comments: 7

Patch Set 7 : diff -r 6e221e8adf96 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -18 lines) Patch
M src/pkg/asn1/asn1.go View 1 2 3 4 5 6 3 chunks +16 lines, -18 lines 0 comments Download
M src/pkg/asn1/asn1_test.go View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 11
dave_cheney.net
Hello agl@chromium.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 8 months ago (2011-08-14 01:51:13 UTC) #1
dave_cheney.net
Hello agl@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 8 months ago (2011-08-14 01:58:30 UTC) #2
agl1
I won't have a real computer till Tuesday to take a look at this, but ...
13 years, 8 months ago (2011-08-14 04:05:43 UTC) #3
dave_cheney.net
Wrt int32 parsing, I'm just wrapping the existing ParseInt method, so truncation remains unchanged when ...
13 years, 8 months ago (2011-08-14 04:12:38 UTC) #4
dave_cheney.net
Please take another look. Realising that int and int32 were the same thing, I've reduced ...
13 years, 8 months ago (2011-08-14 05:42:10 UTC) #5
agl1
LGTM. (Ping me if you need me to land it.) http://codereview.appspot.com/4873049/diff/3003/src/pkg/asn1/asn1.go File src/pkg/asn1/asn1.go (right): http://codereview.appspot.com/4873049/diff/3003/src/pkg/asn1/asn1.go#newcode701 ...
13 years, 8 months ago (2011-08-16 18:06:42 UTC) #6
rsc
http://codereview.appspot.com/4873049/diff/3003/src/pkg/asn1/asn1.go File src/pkg/asn1/asn1.go (right): http://codereview.appspot.com/4873049/diff/3003/src/pkg/asn1/asn1.go#newcode684 src/pkg/asn1/asn1.go:684: case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: This an auto-fixed ...
13 years, 8 months ago (2011-08-16 20:36:51 UTC) #7
dave_cheney.net
Thanks for the feedback, I will update and resubmit tonight. Sent from my iPad On ...
13 years, 8 months ago (2011-08-16 21:51:06 UTC) #8
dave_cheney.net
Please take another look http://codereview.appspot.com/4873049/diff/3003/src/pkg/asn1/asn1.go File src/pkg/asn1/asn1.go (right): http://codereview.appspot.com/4873049/diff/3003/src/pkg/asn1/asn1.go#newcode684 src/pkg/asn1/asn1.go:684: case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, ...
13 years, 8 months ago (2011-08-17 11:13:19 UTC) #9
rsc
LGTM
13 years, 8 months ago (2011-08-17 15:23:56 UTC) #10
rsc
13 years, 8 months ago (2011-08-17 16:12:05 UTC) #11
*** Submitted as http://code.google.com/p/go/source/detail?r=98333fd8a047 ***

asn1: add support for unmarshalling structs with int32 members

Also improve error message for unsupported integer types

R=agl, rsc
CC=golang-dev
http://codereview.appspot.com/4873049

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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