Closed aounleonardo closed 6 years ago
It looks like this has the changes of #43 in it, too. Please make each PR only having the changes necessary.
Ok changes done, sorry about the similarity with #43, I might have started solving both on the same branch. Will keep that in mind for next time.
[]byte was considered a special case in
value()
. I removed the case to allow byte slices to go through theslice()
method like any other slice. This allows a nil []byte to be considered an empty slice as it used to happen with []int or other slices.Closes #4