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

Issue 5619052: code review 5619052: std: add struct field tags to untagged literals. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by nigeltao
Modified:
13 years, 2 months ago
Reviewers:
CC:
rsc, dsymonds, bsiegert, rog, golang-dev
Visibility:
Public.

Description

std: add struct field tags to untagged literals.

Patch Set 1 #

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

Patch Set 3 : diff -r 957880bae91d https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 4 : diff -r 957880bae91d https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 5 : diff -r 521f18f31406 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -40 lines) Patch
M src/pkg/crypto/x509/pkcs1.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/crypto/x509/x509.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/database/sql/fakedb_test.go View 1 1 chunk +7 lines, -7 lines 0 comments Download
M src/pkg/exp/inotify/inotify_linux.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/go/doc/example.go View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/pkg/go/scanner/scanner_test.go View 1 2 chunks +13 lines, -2 lines 0 comments Download
M src/pkg/html/template/escape_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/image/draw/bench_test.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/image/draw/draw_test.go View 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download
M src/pkg/image/gif/reader.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/image/jpeg/reader.go View 1 1 chunk +10 lines, -2 lines 0 comments Download
M src/pkg/image/jpeg/writer.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/image/png/reader.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/net/http/client.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/net/http/httputil/persist.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/net/newpollserver.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/net/rpc/client.go View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/pkg/net/smtp/smtp.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/os/exec_windows.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/regexp/syntax/parse.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/unicode/maketables.go View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 10
nigeltao
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 2 months ago (2012-02-02 06:50:59 UTC) #1
dsymonds
LGTM http://codereview.appspot.com/5619052/diff/3023/src/pkg/image/draw/draw_test.go File src/pkg/image/draw/draw_test.go (right): http://codereview.appspot.com/5619052/diff/3023/src/pkg/image/draw/draw_test.go#newcode315 src/pkg/image/draw/draw_test.go:315: c := color.RGBA{R: 11, G: 0, B: 0, ...
13 years, 2 months ago (2012-02-02 07:00:33 UTC) #2
nigeltao
http://codereview.appspot.com/5619052/diff/3023/src/pkg/image/draw/draw_test.go File src/pkg/image/draw/draw_test.go (right): http://codereview.appspot.com/5619052/diff/3023/src/pkg/image/draw/draw_test.go#newcode315 src/pkg/image/draw/draw_test.go:315: c := color.RGBA{R: 11, G: 0, B: 0, A: ...
13 years, 2 months ago (2012-02-02 07:05:49 UTC) #3
bsiegert
On Thu, Feb 2, 2012 at 07:50, <nigeltao@golang.org> wrote: > std: add struct field tags ...
13 years, 2 months ago (2012-02-02 10:24:36 UTC) #4
rog
so that fields can be added to types in the standard library in a backwardly ...
13 years, 2 months ago (2012-02-02 14:44:56 UTC) #5
rsc
I thought we agreed to have an exception table that would cover image.Point and color.RGBAxx? ...
13 years, 2 months ago (2012-02-02 17:34:32 UTC) #6
rsc
Sorry, missed Nigel's earlier reply in the thread. Please drop the tags from RGBA. If ...
13 years, 2 months ago (2012-02-02 17:35:52 UTC) #7
nigeltao
http://codereview.appspot.com/5619052/diff/3023/src/pkg/image/draw/draw_test.go File src/pkg/image/draw/draw_test.go (right): http://codereview.appspot.com/5619052/diff/3023/src/pkg/image/draw/draw_test.go#newcode315 src/pkg/image/draw/draw_test.go:315: c := color.RGBA{R: 11, G: 0, B: 0, A: ...
13 years, 2 months ago (2012-02-02 22:57:48 UTC) #8
rsc
LGTM but revert html/template/clone.go http://codereview.appspot.com/5619052/diff/5003/src/pkg/html/template/clone.go File src/pkg/html/template/clone.go (left): http://codereview.appspot.com/5619052/diff/5003/src/pkg/html/template/clone.go#oldcode40 src/pkg/html/template/clone.go:40: // We use keyless fields ...
13 years, 2 months ago (2012-02-02 23:06:09 UTC) #9
nigeltao
13 years, 2 months ago (2012-02-02 23:12:31 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=756477d03441 ***

std: add struct field tags to untagged literals.

R=rsc, dsymonds, bsiegert, rogpeppe
CC=golang-dev
http://codereview.appspot.com/5619052
Sign in to reply to this message.

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