Re:Go: A Surprising Edge Case Concerning Append and Slice Al...
by a-nom-a-ly on Saturday May 16, 2015 @09:29AM
(#9556012)
I'm not sure what you're trying to say. This is, IMO, nothing more than a lack of understanding. Is the result of `a := make([]struct{}, 0, 1); b := a; b = append(b, struct{}{}); println(len(a), len(b))` also surprising?
[ Parent
| on HN ]
There are no comments on this comment yet.