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

Issue 12300043: code review 12300043: cmd/api: rewrite using go/types (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by gri
Modified:
10 years, 9 months ago
Reviewers:
bradfitz
CC:
bradfitz, golang-dev
Visibility:
Public.

Description

cmd/api: rewrite using go/types - adjusted test files so that they actually type-check - adjusted go1.txt, go1.1.txt, next.txt - to run, provide build tag: api_tool Fixes issue 4538.

Patch Set 1 #

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

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

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

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

Patch Set 6 : diff -r 564e8c77a065 https://code.google.com/p/go #

Patch Set 7 : diff -r 564e8c77a065 https://code.google.com/p/go #

Patch Set 8 : diff -r 564e8c77a065 https://code.google.com/p/go #

Patch Set 9 : diff -r 564e8c77a065 https://code.google.com/p/go #

Patch Set 10 : diff -r 564e8c77a065 https://code.google.com/p/go #

Patch Set 11 : diff -r 4a3d328fe8e9 https://code.google.com/p/go #

Patch Set 12 : diff -r 4a3d328fe8e9 https://code.google.com/p/go #

Patch Set 13 : diff -r ab644299d124 https://code.google.com/p/go #

Patch Set 14 : diff -r 3cde0ba2c729 https://code.google.com/p/go #

Patch Set 15 : diff -r 3cde0ba2c729 https://code.google.com/p/go #

Patch Set 16 : diff -r 3cde0ba2c729 https://code.google.com/p/go #

Patch Set 17 : diff -r 3cde0ba2c729 https://code.google.com/p/go #

Patch Set 18 : diff -r 3cde0ba2c729 https://code.google.com/p/go #

Patch Set 19 : diff -r d881cb1ffc14 https://code.google.com/p/go #

Patch Set 20 : diff -r 619bcb1a0254 https://code.google.com/p/go #

Patch Set 21 : diff -r 619bcb1a0254 https://code.google.com/p/go #

Patch Set 22 : diff -r 619bcb1a0254 https://code.google.com/p/go #

Patch Set 23 : diff -r 619bcb1a0254 https://code.google.com/p/go #

Patch Set 24 : diff -r 619bcb1a0254 https://code.google.com/p/go #

Patch Set 25 : diff -r 619bcb1a0254 https://code.google.com/p/go #

Total comments: 2

Patch Set 26 : diff -r 97ea81ad7455 https://code.google.com/p/go #

Patch Set 27 : diff -r 23e06fccd3b9 https://code.google.com/p/go #

Patch Set 28 : diff -r 23e06fccd3b9 https://code.google.com/p/go #

Patch Set 29 : diff -r 4a2be1c8942f https://code.google.com/p/go #

Patch Set 30 : diff -r c6b37ee14a9f https://code.google.com/p/go #

Patch Set 31 : diff -r c6b37ee14a9f https://code.google.com/p/go #

Patch Set 32 : diff -r c6b37ee14a9f https://code.google.com/p/go #

Patch Set 33 : diff -r c6b37ee14a9f https://code.google.com/p/go #

Patch Set 34 : diff -r c6b37ee14a9f https://code.google.com/p/go #

Patch Set 35 : diff -r f53cee5f15de https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+618 lines, -1118 lines) Patch
M api/go1.txt View 29 chunks +61 lines, -33 lines 0 comments Download
M api/go1.1.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 2 chunks +2 lines, -0 lines 0 comments Download
M api/next.txt View 4 chunks +127 lines, -6 lines 0 comments Download
R src/cmd/api/clone.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 29 30 31 32 33 1 chunk +0 lines, -251 lines 0 comments Download
M src/cmd/api/goapi.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 29 30 31 32 33 7 chunks +401 lines, -813 lines 0 comments Download
M src/cmd/api/goapi_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 29 30 31 32 33 2 chunks +4 lines, -4 lines 0 comments Download
M src/cmd/api/testdata/src/pkg/p1/golden.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 29 30 31 32 33 6 chunks +8 lines, -5 lines 0 comments Download
M src/cmd/api/testdata/src/pkg/p1/p1.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 29 30 31 32 33 5 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 13
gri
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 9 months ago (2013-08-07 19:49:18 UTC) #1
bradfitz
Remove the *.old files from the CL On Wed, Aug 7, 2013 at 12:49 PM, ...
10 years, 9 months ago (2013-08-07 20:17:32 UTC) #2
gri
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 9 months ago (2013-08-07 20:26:22 UTC) #3
bradfitz
You also need to add +build tags to all the *.go files so they're not ...
10 years, 9 months ago (2013-08-07 20:43:55 UTC) #4
gri
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 9 months ago (2013-08-07 21:08:59 UTC) #5
bradfitz
LGTM but let me submit once run.go is tested and updated. https://codereview.appspot.com/12300043/diff/67001/src/cmd/api/goapi.go File src/cmd/api/goapi.go (right): ...
10 years, 9 months ago (2013-08-07 21:47:52 UTC) #6
gri
https://codereview.appspot.com/12300043/diff/67001/src/cmd/api/goapi.go File src/cmd/api/goapi.go (right): https://codereview.appspot.com/12300043/diff/67001/src/cmd/api/goapi.go#newcode643 src/cmd/api/goapi.go:643: case *types.TypeName: On 2013/08/07 21:47:52, bradfitz wrote: > move ...
10 years, 9 months ago (2013-08-07 21:55:03 UTC) #7
bradfitz
Robert, You also need to update api/go1.txt (and go1.1.txt if needed) in this CL as ...
10 years, 9 months ago (2013-08-08 00:52:04 UTC) #8
gri
where are those files? I don't see a api/go1.txt in cmd/api On Wed, Aug 7, ...
10 years, 9 months ago (2013-08-08 00:54:07 UTC) #9
bradfitz
$GOROOT/api/ On Wed, Aug 7, 2013 at 5:54 PM, Robert Griesemer <gri@golang.org> wrote: > where ...
10 years, 9 months ago (2013-08-08 00:55:15 UTC) #10
gri
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 9 months ago (2013-08-08 20:49:45 UTC) #11
bradfitz
LGTM On Thu, Aug 8, 2013 at 1:49 PM, <gri@golang.org> wrote: > Hello bradfitz@golang.org (cc: ...
10 years, 9 months ago (2013-08-08 21:10:32 UTC) #12
gri
10 years, 9 months ago (2013-08-08 21:11:04 UTC) #13
*** Submitted as https://code.google.com/p/go/source/detail?r=f5b37c93e4c5 ***

cmd/api: rewrite using go/types

- adjusted test files so that they actually type-check
- adjusted go1.txt, go1.1.txt, next.txt
- to run, provide build tag: api_tool

Fixes issue 4538.

R=bradfitz
CC=golang-dev
https://codereview.appspot.com/12300043
Sign in to reply to this message.

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