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

Issue 9303048: code review 9303048: go.exp/go/types: more API tweaks (Closed)

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

Description

go.exp/go/types: more API tweaks - Expose some internal functionality via types.Type per discussion: Builtins, Underlying, Deref. - Removed QualifiedIdent and relatives. - Document existing API better.

Patch Set 1 #

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

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

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

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

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

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

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

Total comments: 12

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

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -411 lines) Patch
M go/types/api.go View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M go/types/builtins.go View 1 2 3 4 5 12 chunks +14 lines, -14 lines 0 comments Download
M go/types/check.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M go/types/check_test.go View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M go/types/conversions.go View 1 4 chunks +5 lines, -5 lines 0 comments Download
M go/types/errors.go View 1 2 3 chunks +2 lines, -15 lines 0 comments Download
M go/types/expr.go View 1 2 3 4 5 25 chunks +26 lines, -26 lines 0 comments Download
M go/types/gcimporter.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M go/types/gcimporter_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M go/types/operand.go View 1 2 3 4 5 9 chunks +14 lines, -14 lines 0 comments Download
M go/types/predicates.go View 1 2 3 4 5 8 chunks +20 lines, -37 lines 0 comments Download
M go/types/sizes.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M go/types/stmt.go View 1 8 chunks +8 lines, -8 lines 0 comments Download
M go/types/types.go View 1 2 3 4 5 6 7 6 chunks +176 lines, -126 lines 0 comments Download
M go/types/types_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M go/types/universe.go View 1 2 2 chunks +47 lines, -47 lines 0 comments Download
M ssa/builder.go View 1 2 3 4 5 6 7 8 32 chunks +43 lines, -43 lines 0 comments Download
M ssa/emit.go View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -7 lines 0 comments Download
M ssa/func.go View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M ssa/interp/interp.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ssa/interp/ops.go View 1 2 3 7 chunks +7 lines, -7 lines 0 comments Download
M ssa/interp/reflect.go View 1 2 3 4 chunks +7 lines, -5 lines 0 comments Download
M ssa/lift.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ssa/print.go View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M ssa/promote.go View 1 2 3 4 5 6 7 8 5 chunks +5 lines, -5 lines 0 comments Download
M ssa/ssa.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ssa/typeinfo.go View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -4 lines 0 comments Download
M ssa/util.go View 1 2 3 4 5 6 7 8 4 chunks +9 lines, -26 lines 0 comments Download

Messages

Total messages: 6
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.exp
10 years, 11 months ago (2013-05-15 23:04:14 UTC) #1
adonovan
https://codereview.appspot.com/9303048/diff/6016/go/types/types.go File go/types/types.go (right): https://codereview.appspot.com/9303048/diff/6016/go/types/types.go#newcode12 go/types/types.go:12: // Underlying returns the underlying type of a type. ...
10 years, 11 months ago (2013-05-16 17:04:30 UTC) #2
adonovan
LGTM
10 years, 11 months ago (2013-05-16 17:04:46 UTC) #3
gri
PTAL https://codereview.appspot.com/9303048/diff/6016/go/types/types.go File go/types/types.go (right): https://codereview.appspot.com/9303048/diff/6016/go/types/types.go#newcode12 go/types/types.go:12: // Underlying returns the underlying type of a ...
10 years, 11 months ago (2013-05-16 23:27:23 UTC) #4
adonovan
LGTM Great!
10 years, 11 months ago (2013-05-17 01:51:03 UTC) #5
gri
10 years, 11 months ago (2013-05-17 05:09:16 UTC) #6
*** Submitted as
https://code.google.com/p/go/source/detail?r=8633f918ffec&repo=exp ***

go.exp/go/types: more API tweaks

- Expose some internal functionality via types.Type
  per discussion: Builtins, Underlying, Deref.
- Removed QualifiedIdent and relatives.
- Document existing API better.

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

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