commit | 2d5d4a1b41743ce84a8cc08562d36d27a0a42e19 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed May 20 15:42:14 2009 -0700 |
committer | Russ Cox <rsc@golang.org> | Wed May 20 15:42:14 2009 -0700 |
tree | 401aa5f2a801ba710cd53366f68b9cee8cf8e257 | |
parent | a39bae095ae836102c96cbfa0adc2745c6fbbbf6 [diff] |
reflect bug: NewZeroValue was refusing to create slices. as far as I can tell there's no reason not to. the Nillable test was succeeding because NewZeroValue returned the nil interface value and the type guard was letting it through. the only change in the test is more detail in the print. R=r DELTA=8 (0 added, 7 deleted, 1 changed) OCL=29124 CL=29126