summaryrefslogtreecommitdiff
path: root/src/pkg/go/printer/testdata/declarations.input
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-4/+79
2010-03-25godoc: don't convert multi-line functions into one-liners by defaultRobert Griesemer1-4/+9
- new heuristic: if both the opening { and closing } braces are on the same line, and the function body doesn't contain comments or is other- wise too long (e.g. signature too long), it is formatted as a one-line function - related cleanups along the way - gofmt -w src misc led to no additional changes as expected R=rsc, rsc1 CC=golang-dev, ken2, r http://codereview.appspot.com/758041
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer1-0/+24
- only manual changes are in src/pkg/go/printer/nodes.go - use a heuristic to determine "outliers" such that not entire composites are forced to align with them - improves several places that were not unligned before due too simple heuristic - unalignes some cases that contain "outliers" - gofmt -w src misc Fixes issue 644. R=rsc, r CC=golang-dev http://codereview.appspot.com/241041
2010-03-02gofmt: fix alignment of multi-line var declarationsRobert Griesemer1-1/+20
- gofmt -w src misc R=rsc, r CC=golang-dev http://codereview.appspot.com/223101
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer1-0/+12
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-02-24go/scanner: support for complex (imaginary) constantsRobert Griesemer1-0/+42
R=rsc CC=golang-dev http://codereview.appspot.com/223044
2010-02-24gofmt: don't print ()'s around function-typed results (not needed anymore)Robert Griesemer1-0/+7
- add extra test cases to go/printer tests - apply gofmt to src and misc R=rsc CC=golang-dev http://codereview.appspot.com/223041
2010-02-01update printer tests to use new syntaxRobert Griesemer1-224/+166
R=rsc CC=golang-dev http://codereview.appspot.com/198048
2010-01-28support for ...T parameters (go/* packages)Robert Griesemer1-0/+24
R=rsc CC=golang-dev http://codereview.appspot.com/194126
2009-12-14improved formatting of import declarations andRobert Griesemer1-0/+21
multi-line expressions with comments Fixes issue 414. R=rsc http://codereview.appspot.com/179047
2009-12-11fix printer test for new syntaxRobert Griesemer1-4/+75
R=rsc http://codereview.appspot.com/175048
2009-11-04rename testfiles from .go -> .orig so that they won't beRobert Griesemer1-0/+461
picked up by gofmt (they should not be modified) or godoc (testdata should not be considered a potential package directory) R=rsc http://go/go-review/1018045