Commit 2e8b375e authored by Robert Griesemer's avatar Robert Griesemer

go/ast: fix printing of maps

Print a newline after each map entry;
similar to the style used for slices
and structs.

R=r, r2
CC=golang-dev
https://golang.org/cl/4274042
parent f1fee448
......@@ -158,6 +158,7 @@ func (p *printer) print(x reflect.Value) {
p.print(key)
p.printf(": ")
p.print(v.Elem(key))
p.printf("\n")
}
p.indent--
p.printf("}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment