]> Cypherpunks repositories - gostls13.git/commit
go/types: len(((*T)(nil)).X) is const if X is an array
authorRobert Griesemer <gri@golang.org>
Tue, 12 Feb 2013 06:39:55 +0000 (22:39 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 12 Feb 2013 06:39:55 +0000 (22:39 -0800)
commitae8da3a28c4182acec1f74f22a615a68fc5c195d
tree3ebcd0fc8e6a35eb2348b91a1835e22f0b363a5f
parentd8e3b16f8b1b78be15775c7d09fe9e60e6e84e72
go/types: len(((*T)(nil)).X) is const if X is an array

Fixes #4744.

R=adonovan
CC=golang-dev
https://golang.org/cl/7305080
src/pkg/exp/gotype/gotype_test.go
src/pkg/go/types/builtins.go
src/pkg/go/types/check.go
src/pkg/go/types/conversions.go
src/pkg/go/types/testdata/builtins.src