Descriptiongofmt: leave nil nodes of the AST unchanged.
Without this check, gofmt panics when trying to apply
the identity transformation on "item.field" expressions.
Fixes issue 2410.
Patch Set 1 #Patch Set 2 : diff -r 2f4482b89a6b https://go.googlecode.com/hg/ #Patch Set 3 : diff -r ca5f853bdff5 https://go.googlecode.com/hg/ #
Total comments: 2
Patch Set 4 : diff -r 5a1c75805f59 https://go.googlecode.com/hg/ #
MessagesTotal messages: 7
|