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

Issue 129260043: code review 129260043: go.tools/refactor/eg: Support promoted fields and methods.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by pnasrat
Modified:
11 years, 2 months ago
Reviewers:
adonovan
CC:
adonovan, gmk, golang-codereviews
Visibility:
Public.

Description

go.tools/refactor/eg: Support promoted fields and methods. As per http://golang.org/ref/spec#Struct_types enable eg tool to wildcard match against promoted fields and methods.

Patch Set 1 #

Patch Set 2 : diff -r 1fa572663442 https://code.google.com/p/go.tools #

Patch Set 3 : diff -r 1fa572663442 https://code.google.com/p/go.tools #

Total comments: 5

Patch Set 4 : diff -r 1fa572663442 https://code.google.com/p/go.tools #

Patch Set 5 : diff -r 1fa572663442 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -5 lines) Patch
M refactor/eg/eg_test.go View 1 chunk +3 lines, -0 lines 0 comments Download
M refactor/eg/match.go View 3 chunks +25 lines, -5 lines 0 comments Download
A refactor/eg/testdata/F.template View 1 chunk +8 lines, -0 lines 0 comments Download
A refactor/eg/testdata/F1.go View 1 chunk +48 lines, -0 lines 0 comments Download
A refactor/eg/testdata/F1.golden View 1 chunk +48 lines, -0 lines 0 comments Download

Messages

Total messages: 12
pnasrat
Hello adonovan@google.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
11 years, 2 months ago (2014-08-18 13:57:12 UTC) #1
adonovan
Thanks, Paul. https://codereview.appspot.com/129260043/diff/40001/refactor/eg/match.go File refactor/eg/match.go (right): https://codereview.appspot.com/129260043/diff/40001/refactor/eg/match.go#newcode167 refactor/eg/match.go:167: field := x.Sel.Name sel := (it might ...
11 years, 2 months ago (2014-08-20 02:30:14 UTC) #2
pnasrat
On Tue, Aug 19, 2014 at 10:30 PM, <adonovan@google.com> wrote: > Thanks, Paul. > > ...
11 years, 2 months ago (2014-08-20 03:34:29 UTC) #3
gmk
https://codereview.appspot.com/129260043/diff/40001/refactor/eg/testdata/F1.go File refactor/eg/testdata/F1.go (right): https://codereview.appspot.com/129260043/diff/40001/refactor/eg/testdata/F1.go#newcode32 refactor/eg/testdata/F1.go:32: y.Lock() On 2014/08/20 02:30:14, adonovan wrote: > I'm baffled ...
11 years, 2 months ago (2014-08-20 08:13:26 UTC) #4
pnasrat
On 2014/08/20 08:13:26, gmk wrote: > https://codereview.appspot.com/129260043/diff/40001/refactor/eg/testdata/F1.go > File refactor/eg/testdata/F1.go (right): > > https://codereview.appspot.com/129260043/diff/40001/refactor/eg/testdata/F1.go#newcode32 > ...
11 years, 2 months ago (2014-08-21 00:47:10 UTC) #5
gmk
On 2014/08/21 00:47:10, pnasrat wrote: > On 2014/08/20 08:13:26, gmk wrote: > > https://codereview.appspot.com/129260043/diff/40001/refactor/eg/testdata/F1.go > ...
11 years, 2 months ago (2014-08-21 07:05:18 UTC) #6
pnasrat
On 2014/08/21 07:05:18, gmk wrote: > On 2014/08/21 00:47:10, pnasrat wrote: > > On 2014/08/20 ...
11 years, 2 months ago (2014-08-25 17:51:38 UTC) #7
adonovan
On 20 August 2014 04:13, <gordon.klaus@gmail.com> wrote: > If I recall correctly, LookupFieldOrMethod returns a ...
11 years, 2 months ago (2014-08-25 19:14:57 UTC) #8
adonovan
On 2014/08/25 19:14:57, adonovan wrote: > On 20 August 2014 04:13, <mailto:gordon.klaus@gmail.com> wrote: > > ...
11 years, 2 months ago (2014-08-25 20:04:09 UTC) #9
pnasrat
On 2014/08/25 20:04:09, adonovan wrote: > On 2014/08/25 19:14:57, adonovan wrote: > > On 20 ...
11 years, 2 months ago (2014-08-25 20:23:00 UTC) #10
adonovan
On 2014/08/25 20:23:00, pnasrat wrote: > On 2014/08/25 20:04:09, adonovan wrote: > > On 2014/08/25 ...
11 years, 2 months ago (2014-08-25 20:25:03 UTC) #11
adonovan
11 years, 2 months ago (2014-08-25 20:26:57 UTC) #12
*** Submitted as https://code.google.com/p/go/source/detail?r=0926067da7b4&repo=tools *** go.tools/refactor/eg: Support promoted fields and methods. As per http://golang.org/ref/spec#Struct_types enable eg tool to wildcard match against promoted fields and methods. LGTM=adonovan R=adonovan, gordon.klaus CC=golang-codereviews https://codereview.appspot.com/129260043 Committer: Alan Donovan <adonovan@google.com>
Sign in to reply to this message.

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