1
0
mirror of https://github.com/golang/go synced 2024-10-04 11:11:21 -06:00
go/src/cmd/gofmt
Robert Griesemer f613015e0e go ast/parser/printer: permit elision of composite literal types for composite literal elements
gofmt: added -s flag to simplify composite literal expressions through type elision where possible

R=rsc
CC=golang-dev
https://golang.org/cl/2319041
2010-10-22 10:03:14 -07:00
..
testdata go ast/parser/printer: permit elision of composite literal types for composite literal elements 2010-10-22 10:03:14 -07:00
doc.go go ast/parser/printer: permit elision of composite literal types for composite literal elements 2010-10-22 10:03:14 -07:00
gofmt.go go ast/parser/printer: permit elision of composite literal types for composite literal elements 2010-10-22 10:03:14 -07:00
Makefile go ast/parser/printer: permit elision of composite literal types for composite literal elements 2010-10-22 10:03:14 -07:00
rewrite.go gofmt: don't substitute invalid positions with valid ones in rewrites 2010-09-24 12:58:08 -07:00
simplify.go go ast/parser/printer: permit elision of composite literal types for composite literal elements 2010-10-22 10:03:14 -07:00
test.sh gofmt: add another exception to test cases 2010-09-16 11:03:28 -07:00