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

Issue 7305080: code review 7305080: go/types: len(((*T)(nil)).X) is const if X is an array (Closed)

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

Description

go/types: len(((*T)(nil)).X) is const if X is an array Fixes issue 4744.

Patch Set 1 #

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

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

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

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -31 lines) Patch
M src/pkg/exp/gotype/gotype_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/types/builtins.go View 1 2 3 4 5 6 4 chunks +18 lines, -14 lines 0 comments Download
M src/pkg/go/types/check.go View 1 2 2 chunks +18 lines, -16 lines 0 comments Download
M src/pkg/go/types/conversions.go View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/go/types/testdata/builtins.src View 1 2 chunks +8 lines, -0 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
12 years, 4 months ago (2013-02-12 01:53:10 UTC) #1
adonovan
LGTM. There's a typo in the bug number in your CL description though. What's the ...
12 years, 4 months ago (2013-02-12 02:59:53 UTC) #2
gri
On Feb 11, 2013 6:59 PM, <adonovan@google.com> wrote: > > LGTM. > > There's a ...
12 years, 4 months ago (2013-02-12 06:03:33 UTC) #3
gri
12 years, 4 months ago (2013-02-12 06:40:02 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=9e8eec6e3239 ***

go/types: len(((*T)(nil)).X) is const if X is an array

Fixes issue 4744.

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

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