("truth" says nothing about what is true.
This boolean tracks whether the file was fixed.)
Change-Id: I29bb80c4fad3ca7f2ae96e50e16f6cde484b374f
Reviewed-on: https://go-review.googlesource.com/c/go/+/240556
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
}
func gotypes(f *ast.File) bool {
- truth := fixGoTypes(f)
+ fixed := fixGoTypes(f)
if fixGoExact(f) {
- truth = true
+ fixed = true
}
- return truth
+ return fixed
}
func fixGoTypes(f *ast.File) bool {