Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/astinternal: use reflect.Value.IsNil consistently
The code was using a mix of IsValid and IsNil checks on reflect.Value; use IsNil consistently. This is a few more lines of code, but it's also more obvious. While here, make the comments a bit clearer. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I8fcd0f2cb43e9861807a4eccd78de4e66f6a419b Dispatch-Trailer: {"type":"trybot","CL":1200889,"patchset":2,"ref":"refs/changes/89/1200889/2","targetBranch":"master"}
- Loading branch information