• Russ Cox's avatar
    reflect bug: NewZeroValue was refusing to create slices. · 2d5d4a1b
    Russ Cox authored
    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
    2d5d4a1b
all_test.go 16.5 KB