gofmt: leave nil nodes of the AST unchanged.
Without this check, gofmt panics when trying to apply the identity transformation on "item.field" expressions. Fixes #2410. R=rsc, gri CC=golang-dev, remy https://golang.org/cl/5376061
Showing
Please
register
or
sign in
to comment