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

Issue 7023043: code review 7023043: go/types: Steps towards removing ast.Object from export... (Closed)

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

Description

go/types: Steps towards removing ast.Object from exported API. - introduced type Method for methods - renamed StructField -> Field - removed ObjList - methods are not sorted anymore in interfaces (for now)

Patch Set 1 #

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

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

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

Total comments: 8

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -79 lines) Patch
M src/pkg/go/types/api.go View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/go/types/errors.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/go/types/expr.go View 1 7 chunks +22 lines, -17 lines 0 comments Download
M src/pkg/go/types/gcimporter.go View 1 4 chunks +7 lines, -8 lines 0 comments Download
M src/pkg/go/types/operand.go View 1 2 chunks +7 lines, -7 lines 0 comments Download
M src/pkg/go/types/predicates.go View 1 2 3 4 4 chunks +32 lines, -13 lines 0 comments Download
M src/pkg/go/types/testdata/decls0.src View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/types/types.go View 1 2 3 4 6 chunks +16 lines, -24 lines 0 comments Download
M src/pkg/go/types/types_test.go View 1 1 chunk +1 line, -4 lines 0 comments Download
M src/pkg/go/types/universe.go View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 5
gri
Hello adonovan@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 6 months ago (2012-12-28 22:00:45 UTC) #1
gri
Hello adonovan@google.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 6 months ago (2012-12-28 22:02:32 UTC) #2
adonovan
LGTM https://codereview.appspot.com/7023043/diff/8001/src/pkg/go/types/expr.go File src/pkg/go/types/expr.go (right): https://codereview.appspot.com/7023043/diff/8001/src/pkg/go/types/expr.go#newcode114 src/pkg/go/types/expr.go:114: return // keep multiple entries, lookup will only ...
12 years, 6 months ago (2012-12-28 22:17:43 UTC) #3
gri
https://codereview.appspot.com/7023043/diff/8001/src/pkg/go/types/expr.go File src/pkg/go/types/expr.go (right): https://codereview.appspot.com/7023043/diff/8001/src/pkg/go/types/expr.go#newcode114 src/pkg/go/types/expr.go:114: return // keep multiple entries, lookup will only return ...
12 years, 6 months ago (2012-12-28 22:28:52 UTC) #4
gri
12 years, 6 months ago (2012-12-28 22:30:42 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=1e331db5cf11 ***

go/types: Steps towards removing ast.Object from exported API.

- introduced type Method for methods
- renamed StructField -> Field
- removed ObjList
- methods are not sorted anymore in interfaces (for now)

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

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