diff options
| author | Michal Bohuslávek <mbohuslavek@gmail.com> | 2015-08-26 23:17:22 +0200 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2015-09-11 23:36:34 +0000 |
| commit | ab14797f2179434575fc42dcc3c4f83e6d402e4b (patch) | |
| tree | a3df4f365e07f4a751fe814e8aa7fe4a54939b81 /src/database/sql | |
| parent | 67ddae87b97b14e228c09d82c9c21ca0b0eaaae9 (diff) | |
| download | go-ab14797f2179434575fc42dcc3c4f83e6d402e4b.tar.xz | |
go/printer: fix indentation of *ast.CallExpr parameters
The current version of go/printer formats the following code
like this:
foo.Bar().
Run(func() {
do()
}).
Set(map[string]interface{}{
"x": "three",
"y": 4,
}).
Run(
func() {
do()
},
)
This CL changes the go/printer behaviour to make the code look
like this.
foo.Bar().
Run(func() {
do()
}).
Set(map[string]interface{}{
"x": "three",
"y": 4,
}).
Run(
func() {
do()
},
)
Fixes #12066.
Change-Id: If0f525dae1a5d45f9ba40534dbb65715d7e8001b
Reviewed-on: https://go-review.googlesource.com/13928
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
