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

Issue 5436051: code review 5436051: gofix: trivial rewrite for template.ParseFiles (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:
CC:
rsc, golang-dev
Visibility:
Public.

Description

gofix: trivial rewrite for template.ParseFiles Also warn about uses of Set.

Patch Set 1 #

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

Total comments: 4

Patch Set 3 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 5 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 11 : diff -r 01a64d431f4a https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r 45e3c28dc7b5 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -0 lines) Patch
M src/cmd/gofix/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
A src/cmd/gofix/template.go View 1 2 3 4 5 6 7 8 9 1 chunk +111 lines, -0 lines 0 comments Download
A src/cmd/gofix/template_test.go View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 9
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-11-22 19:52:52 UTC) #1
rsc
http://codereview.appspot.com/5436051/diff/2002/src/cmd/gofix/template.go File src/cmd/gofix/template.go (right): http://codereview.appspot.com/5436051/diff/2002/src/cmd/gofix/template.go#newcode52 src/cmd/gofix/template.go:52: if sel.Sel.Name == "ParseFile" { This test is not ...
13 years, 3 months ago (2011-11-22 20:05:43 UTC) #2
r
http://codereview.appspot.com/5436051/diff/2002/src/cmd/gofix/template.go File src/cmd/gofix/template.go (right): http://codereview.appspot.com/5436051/diff/2002/src/cmd/gofix/template.go#newcode52 src/cmd/gofix/template.go:52: if sel.Sel.Name == "ParseFile" { a typical file will ...
13 years, 3 months ago (2011-11-22 20:10:34 UTC) #3
rsc
To use the type checker, the first step is to write a TypeConfig that describes ...
13 years, 3 months ago (2011-11-22 20:19:22 UTC) #4
r
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-22 21:32:33 UTC) #5
rsc
LGTM http://codereview.appspot.com/5436051/diff/4001/src/cmd/gofix/template.go File src/cmd/gofix/template.go (right): http://codereview.appspot.com/5436051/diff/4001/src/cmd/gofix/template.go#newcode45 src/cmd/gofix/template.go:45: "ParseFile": "*template.Template,error", If you add the chaining methods ...
13 years, 3 months ago (2011-11-22 21:38:37 UTC) #6
r
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-22 22:20:03 UTC) #7
rsc
LGTM
13 years, 3 months ago (2011-11-22 22:21:20 UTC) #8
r
13 years, 3 months ago (2011-11-24 04:17:41 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=565dc56d5e30 ***

gofix: trivial rewrite for template.ParseFiles
Also warn about uses of Set.

R=rsc
CC=golang-dev
http://codereview.appspot.com/5436051
Sign in to reply to this message.

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