- 
                Notifications
    You must be signed in to change notification settings 
- Fork 218
Open
Labels
Description
I'm using intsets.Sparse as a field in a struct:
type T struct {
   v intsets.Sparse
   // other fields
}When traversing T, the field v is copied, causing all methods to fail. This precludes the use of Transformer.
Ideally, there would be an Option that would take the address of the field for use with other Options. Notably, Sparse has an Equals(*Sparse) bool method, so perhaps an alternate idea is to allow different equality methods? But I'm not sure whether go-cmp will take the address of a field in order to invoke the Equal method.