Change-Id: I8cc9783fd044bed48347824dcf973c61c78275a5
Reviewed-on: https://go-review.googlesource.com/15833
Reviewed-by: Andrew Gerrand <adg@golang.org>
                return zero
        }
        typ := receiver.Type()
-       receiver, _ = indirect(receiver)
+       receiver, isNil := indirect(receiver)
        // Unless it's an interface, need to get to a value of type *T to guarantee
        // we see all methods of T and *T.
        ptr := receiver
        }
        hasArgs := len(args) > 1 || final.IsValid()
        // It's not a method; must be a field of a struct or an element of a map. The receiver must not be nil.
-       receiver, isNil := indirect(receiver)
        if isNil {
                s.errorf("nil pointer evaluating %s.%s", typ, fieldName)
        }