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

Issue 7301102: code review 7301102: encoding/binary: make type error more specific (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by rsc
Modified:
12 years, 4 months ago
Reviewers:
CC:
golang-dev, iant
Visibility:
Public.

Description

encoding/binary: make type error more specific Right now it says 'invalid type S' for a struct type S. Instead, say which type inside the struct is the problem. Fixes issue 4825.

Patch Set 1 #

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

Patch Set 3 : diff -r 2523d1acf788 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 2523d1acf788 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -27 lines) Patch
M src/pkg/encoding/binary/binary.go View 1 3 chunks +31 lines, -26 lines 0 comments Download
M src/pkg/encoding/binary/binary_test.go View 1 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 4 months ago (2013-02-15 17:57:11 UTC) #1
iant
LGTM
12 years, 4 months ago (2013-02-15 18:10:45 UTC) #2
rsc
12 years, 4 months ago (2013-02-15 18:12:34 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=cb68bc803848 ***

encoding/binary: make type error more specific

Right now it says 'invalid type S' for a struct type S.
Instead, say which type inside the struct is the problem.

Fixes issue 4825.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7301102
Sign in to reply to this message.

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