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

Issue 7473043: code review 7473043: go/types: cleanup of assignment checks (Closed)

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

Description

go/types: cleanup of assignment checks Also: - cleaner handling of constants w/ unknown value - removed several TODOs

Patch Set 1 #

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

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

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

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

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

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

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

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

Total comments: 8

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -141 lines) Patch
M src/pkg/go/types/check.go View 1 2 3 4 5 6 7 8 9 2 chunks +12 lines, -10 lines 0 comments Download
M src/pkg/go/types/const.go View 1 2 3 4 5 6 7 8 9 8 chunks +24 lines, -0 lines 0 comments Download
M src/pkg/go/types/expr.go View 1 2 3 4 5 3 chunks +8 lines, -4 lines 0 comments Download
M src/pkg/go/types/objects.go View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
M src/pkg/go/types/stmt.go View 1 2 3 4 5 6 7 8 9 2 chunks +89 lines, -114 lines 0 comments Download
M src/pkg/go/types/testdata/builtins.src View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M src/pkg/go/types/testdata/const0.src View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/go/types/testdata/decls2a.src View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M src/pkg/go/types/testdata/expr3.src View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/pkg/go/types/universe.go View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4
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
13 years ago (2013-03-06 20:45:57 UTC) #1
adonovan
LGTM I confess I didn't follow all the details of the assign1to1 refactoring. https://codereview.appspot.com/7473043/diff/22001/src/pkg/go/types/check.go File ...
13 years ago (2013-03-06 22:11:08 UTC) #2
gri
https://codereview.appspot.com/7473043/diff/22001/src/pkg/go/types/check.go File src/pkg/go/types/check.go (right): https://codereview.appspot.com/7473043/diff/22001/src/pkg/go/types/check.go#newcode209 src/pkg/go/types/check.go:209: // value of the constant (e.g.m, in: "const x ...
13 years ago (2013-03-06 23:45:55 UTC) #3
gri
13 years ago (2013-03-07 00:14:30 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=a688fd4f607d ***

go/types: cleanup of assignment checks

Also:
- cleaner handling of constants w/ unknown value
- removed several TODOs

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

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