]> Cypherpunks repositories - gostls13.git/commit
Conversion from array to slices should work like assignment:
authorIan Lance Taylor <iant@golang.org>
Thu, 30 Apr 2009 03:15:59 +0000 (20:15 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 30 Apr 2009 03:15:59 +0000 (20:15 -0700)
commit625866a9779d290d6617730091d45b9d3c0ae5c7
tree6669eb642a51020f4a0377f4b77016189ab9efb9
parent89f8238a996e08a0a7df85db81cf0338c89de244
Conversion from array to slices should work like assignment:
you should be able to convert a pointer to an array to a
slice, you should not be able to convert an array to a slice.
Currently 6g works the other way around.

R=ken,rsc
DELTA=17  (17 added, 0 deleted, 0 changed)
OCL=28033
CL=28067
test/bugs/bug146.go [new file with mode: 0644]
test/golden.out