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

Issue 11189043: code review 11189043: go.tools/go/types: export IsAssignableTo (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:
adonovan
CC:
adonovan, golang-dev
Visibility:
Public.

Description

go.tools/go/types: export IsAssignableTo Tested implictly since its simply calling the internal isAssignableTo which is used in every assignment when testing the std library.

Patch Set 1 #

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M go/types/api.go View 1 2 chunks +8 lines, -1 line 0 comments Download
M go/types/assignments.go View 1 1 chunk +1 line, -1 line 0 comments Download
M go/types/builtins.go View 1 1 chunk +1 line, -1 line 0 comments Download
M go/types/conversions.go View 1 1 chunk +1 line, -1 line 0 comments Download
M go/types/expr.go View 1 1 chunk +1 line, -1 line 0 comments Download
M go/types/operand.go View 1 1 chunk +3 lines, -3 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.tools
10 years, 9 months ago (2013-07-11 21:05:49 UTC) #1
adonovan
On 2013/07/11 21:05:49, gri wrote: > Hello mailto:adonovan@google.com (cc: mailto:golang-dev@googlegroups.com), > > I'd like you ...
10 years, 9 months ago (2013-07-11 21:08:53 UTC) #2
adonovan
https://codereview.appspot.com/11189043/diff/6001/go/types/api.go File go/types/api.go (right): https://codereview.appspot.com/11189043/diff/6001/go/types/api.go#newcode156 go/types/api.go:156: func IsAssignableTo(V, T Type) bool { Is this an ...
10 years, 9 months ago (2013-07-11 21:08:57 UTC) #3
gri
https://codereview.appspot.com/11189043/diff/6001/go/types/api.go File go/types/api.go (right): https://codereview.appspot.com/11189043/diff/6001/go/types/api.go#newcode156 go/types/api.go:156: func IsAssignableTo(V, T Type) bool { On 2013/07/11 21:08:57, ...
10 years, 9 months ago (2013-07-11 21:20:54 UTC) #4
adonovan
LGTM On 2013/07/11 21:20:54, gri wrote: > https://codereview.appspot.com/11189043/diff/6001/go/types/api.go > File go/types/api.go (right): > > https://codereview.appspot.com/11189043/diff/6001/go/types/api.go#newcode156 ...
10 years, 9 months ago (2013-07-11 21:22:43 UTC) #5
gri
10 years, 9 months ago (2013-07-11 21:23:32 UTC) #6
*** Submitted as
https://code.google.com/p/go/source/detail?r=83e9583da735&repo=tools ***

go.tools/go/types: export IsAssignableTo

Tested implictly since its simply calling the
internal isAssignableTo which is used in every
assignment when testing the std library.

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

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