go/ast: minor cleanup
It's better to use IsValid() then checking a (possibly partially set up) position against NoPos directly. R=dsymonds CC=golang-dev https://golang.org/cl/6855099
Showing
Please register or sign in to comment
It's better to use IsValid() then checking a (possibly partially set up) position against NoPos directly. R=dsymonds CC=golang-dev https://golang.org/cl/6855099